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.
2 parents b1395be + b6b92e7 commit e23e404Copy full SHA for e23e404
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