-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
Matplotlib version 1.4.3
Python version 2.7.* and 3.4.* is tried
Platform Linux(OpenSuse)
I install Matplotlib with command: pip install matplotlib
import scipy.misc
import matplotlib.pyplot as plt
lena = scipy.misc.lena()
acopy = lena.copy()
aview = lena.view()
plt.subplot(221)
plt.imshow(lena)
plt.subplot(222)
plt.imshow(acopy)
plt.subplot(223)
plt.imshow(aview)
aview.flat = 0
plt.subplot(224)
plt.imshow(aview)
plt.show()When I run this program, there is no reflection.
There is no error in this process.
import scipy.misc
import matplotlib.pyplot as plt
lena = scipy.misc.lena()
acopy = lena.copy()
aview = lena.view()
plt.subplot(221)
plt.imshow(lena)
plt.subplot(222)
plt.imshow(acopy)
plt.subplot(223)
plt.imshow(aview)
aview.flat = 0
plt.subplot(224)
plt.imshow(aview)
plt.savefig('foo.png')When I run this program, there is an new picture in the current folder
Thanks for your help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels