title: Displaying image with matplotlib in ipython
body: <p>How can I display an image imported with numpy package using matplotlib in ipython? </p>
  
  <p>It should be fairly easy with the command</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  
  im = np.array(Image.open('image.jpg'))
  
  plt.imshow(im)
  </code></pre>
  
  <p>But the image does not show and I just get the output</p>
  
  <pre><code>&lt;matplotlib.image.AxesImage at 0x7fb38e10ff10&gt;
  </code></pre>