title: Display array as raster image in python
body: <p>I've got a numpy array in Python and I'd like to display it on-screen as a raster image. What is the simplest way to do this? It doesn't need to be particularly fancy or have a nice interface, all I need to do is to display the contents of the array as a greyscale raster image.</p>
  
  <p>I'm trying to transition some of my IDL code to Python with NumPy and am basically looking for a replacement for the <code>tv</code> and <code>tvscl</code> commands in IDL.</p>