xxxxxxxxxx
import warnings as ws
ws.filterwarnings('ignore')
import pandas,geopandas,pylab
fpath=url = 'https://raw.githubusercontent.com/jcanalesluna/'+\
'bcn-geodata/master/districtes/districtes.geojson'
df=geopandas.read_file(fpath)
pylab.style.use('seaborn-whitegrid')
df.boundary.plot(figsize=(6,6),markersize=0,lw=.3,edgecolor='black')
pylab.tight_layout(); pylab.show()
No comments:
Post a Comment