Note
Go to the end to download the full example code
Geographic Projections#
This shows 4 possible geographic projections. Cartopy supports more projections.
import matplotlib.pyplot as plt
plt.figure()
plt.subplot(projection="aitoff")
plt.title("Aitoff")
plt.grid(True)
![Aitoff](../../_images/sphx_glr_geo_demo_001.png)
plt.figure()
plt.subplot(projection="hammer")
plt.title("Hammer")
plt.grid(True)
![Hammer](../../_images/sphx_glr_geo_demo_002.png)
plt.figure()
plt.subplot(projection="lambert")
plt.title("Lambert")
plt.grid(True)
![Lambert](../../_images/sphx_glr_geo_demo_003.png)
plt.figure()
plt.subplot(projection="mollweide")
plt.title("Mollweide")
plt.grid(True)
plt.show()
![Mollweide](../../_images/sphx_glr_geo_demo_004.png)
Total running time of the script: (0 minutes 1.248 seconds)