%pylab inline
Populating the interactive namespace from numpy and matplotlib
import scipy.misc
img = scipy.misc.lena()
imshow(img) colorbar()
<matplotlib.colorbar.Colorbar instance at 0x10623e5f0>
gray()
<matplotlib.figure.Figure at 0x10627df10>
<matplotlib.colorbar.Colorbar instance at 0x1018531b8>