title: How can I get pyplot images to show on a console app?
body: <p>I'm trying to create an image using <code>matplotlib.pyplot.imshow()</code>.  However, when I run the program from my console, it doesn't display anything?</p>
  
  <p>This is the code:</p>
  
  <pre><code>import matplotlib.pyplot
  
  myimage = gen_image()
  
  matplotlib.pyplot.gray()
  matplotlib.pyplot.imshow(results)
  </code></pre>
  
  <p>But this shows nothing.</p>