October 2018
Beginner to intermediate
676 pages
18h 30m
English
The following are the steps involved in plotting our map:
plt.figure(figsize=(12, 6))ax = plt.axes(projection=ccrs.PlateCarree())
ax.stock_img()ax.coastlines()
shp_fn = shpreader.natural_earth(resolution='10m', category='cultural', name='populated_places')
xy = [pt.coords[0] for pt in shpreader.Reader(shp_fn).geometries()]
x, y = zip(*xy)
ax.scatter(x,y, transform=ccrs.Geodetic()) ...
Read now
Unlock full access