title: imshow() function not working
body: <p>I'm working on a program in python with packages numpy,scipy and matplotlib.pyplot. This is my code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from scipy import misc
  im=misc.imread("photosAfterAverage/exampleAfterAverage1.jpg")
  plt.imshow(im, cmap=plt.cm.gray)
  </code></pre>
  
  <p>for some reason the image isn't showing up (checked if I got the image, in that part it's all fine- I can print the array.).</p>