import scipy.misc
import scipy.misc as sm
import matplotlib.pyplot as plt
lena= sm.lena()
acopy =lena.copy()
aview=lena.view()
aview.flat=0
plt.imshow(aview)
plt.show()
plt.subplot(1,2,1)
plt.imshow(lena)
plt.subplot(1,2,2)
plt.imshow(acopy)
plt.show()