8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd8d1a commit b6b92e7Copy full SHA for b6b92e7
examples/pylab_examples/subplot_toolbar.py
@@ -1,16 +1,15 @@
1
-#!/usr/bin/env python
+import matplotlib.pyplot as plt
2
+import numpy.random as rnd
3
-from pylab import *
4
+fig = plt.figure()
5
+plt.subplot(221)
6
+plt.imshow(rnd.random((100, 100)))
7
+plt.subplot(222)
8
9
+plt.subplot(223)
10
11
+plt.subplot(224)
12
13
-fig = figure()
-subplot(221)
-imshow(rand(100, 100))
-subplot(222)
-subplot(223)
-subplot(224)
14
-
15
-subplot_tool()
16
-show()
+plt.subplot_tool()
+plt.show()
0 commit comments