You are reading an old version of the documentation (v2.0.0). For the latest version see https://matplotlib.org/stable/
matplotlib

Travis-CI:

This Page

pylab_examples example code: geo_demo.pyΒΆ

(Source code)

../../_images/geo_demo_00.png

(png, pdf)

../../_images/geo_demo_01.png

(png, pdf)

../../_images/geo_demo_02.png

(png, pdf)

../../_images/geo_demo_03.png

(png, pdf)

import matplotlib.pyplot as plt

plt.figure()
plt.subplot(111, projection="aitoff")
plt.title("Aitoff")
plt.grid(True)

plt.figure()
plt.subplot(111, projection="hammer")
plt.title("Hammer")
plt.grid(True)

plt.figure()
plt.subplot(111, projection="lambert")
plt.title("Lambert")
plt.grid(True)

plt.figure()
plt.subplot(111, projection="mollweide")
plt.title("Mollweide")
plt.grid(True)

plt.show()

Keywords: python, matplotlib, pylab, example, codex (see Search examples)