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

Previous topic

pylab_examples example code: ganged_plots.py

Next topic

pylab_examples example code: ginput_demo.py

This Page

pylab_examples example code: geo_demo.pyΒΆ

(Source code, png, hires.png, pdf)

../../_images/geo_demo.png
import numpy as np
#np.seterr("raise")

from pylab import *

subplot(221, projection="aitoff")
title("Aitoff")
grid(True)

subplot(222, projection="hammer")
title("Hammer")
grid(True)

subplot(223, projection="lambert")
title("Lambert")
grid(True)

subplot(224, projection="mollweide")
title("Mollweide")
grid(True)

show()

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