We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c8c05d + 049818e commit 0bbf040Copy full SHA for 0bbf040
examples/pylab_examples/geo_demo.py
@@ -1,22 +1,19 @@
1
-import numpy as np
2
-#np.seterr("raise")
+import matplotlib.pyplot as plt
3
4
-from pylab import *
+plt.subplot(221, projection="aitoff")
+plt.title("Aitoff")
5
+plt.grid(True)
6
-subplot(221, projection="aitoff")
7
-title("Aitoff")
8
-grid(True)
+plt.subplot(222, projection="hammer")
+plt.title("Hammer")
9
10
-subplot(222, projection="hammer")
11
-title("Hammer")
12
+plt.subplot(223, projection="lambert")
+plt.title("Lambert")
13
14
-subplot(223, projection="lambert")
15
-title("Lambert")
16
+plt.subplot(224, projection="mollweide")
+plt.title("Mollweide")
17
18
-subplot(224, projection="mollweide")
19
-title("Mollweide")
20
21
-
22
-show()
+plt.show()
0 commit comments