Cartopy-Minimalbeispiel mit Küstenlinien
English
Deutsch
Dieses Beispiel zeigt ein Minimalbeispiel, wie man Küstenlinien mit Cartopy darstellt:
cartopy-minimal-example-with-coastlines.py
import cartopy.crs as ccrs
import cartopy.feature as cf
from matplotlib import pyplot as plt
ax = plt.axes(projection = ccrs.Mercator())
ax.add_feature(cf.COASTLINE)
# Abbildung vergrößern
plt.gcf().set_size_inches(20, 10)
# Abbildung als SVG speichern
plt.savefig("Cartopy-Coastlines.svg")If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow