8000 Mep12 subplot toolbar.py by ericmjl · Pull Request #4651 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Mep12 subplot toolbar.py #4651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
MEP12 on subplot_toolbar.py
  • Loading branch information
ericmjl committed Jul 11, 2015
commit b6b92e747f2e8b2637d0ca658a833309535f6568
27 changes: 13 additions & 14 deletions examples/pylab_examples/subplot_toolbar.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#!/usr/bin/env python
import matplotlib.pyplot as plt
import numpy.random as rnd

from pylab import *
fig = plt.figure()
plt.subplot(221)
plt.imshow(rnd.random((100, 100)))
plt.subplot(222)
plt.imshow(rnd.random((100, 100)))
plt.subplot(223)
plt.imshow(rnd.random((100, 100)))
plt.subplot(224)
plt.imshow(rnd.random((100, 100)))

fig = figure()
subplot(221)
imshow(rand(100, 100))
subplot(222)
imshow(rand(100, 100))
subplot(223)
imshow(rand(100, 100))
subplot(224)
imshow(rand(100, 100))

subplot_tool()
show()
plt.subplot_tool()
plt.show()
0