How to draw Europe map using Cartopy
We can easily draw an Africa Map using Cartopy by setting the extents to [-13, 45, 30, 70]
:
ax.set_extent([-13, 45, 30, 70])
Complete code example
The code above produces the image shown above:
import cartopy.crs as ccrs
import cartopy.feature as cf
from matplotlib import pyplot as plt
proj = ccrs.Miller()
ax = plt.axes(projection=proj)
ax.set_extent([-13, 45, 30, 70])
ax.stock_img()
ax.add_feature(cf.COASTLINE, lw=2)
ax.add_feature(cf.BORDERS)
# Make figure larger
plt.gcf().set_size_inches(20, 10)
# Save figure as SVG
plt.savefig("Europe.svg")