title: How to display images using different color maps in different figures in matplotlib?
body: <p>I want to display images using different color maps in different figures. </p>
  
  <p>Following code displays the image with two different windows but the same color map</p>
  
  <pre><code>   import scipy.misc
     from pylab import *
  
     a = scipy.misc.imread('lena.jpg')
     figure(1)
     image = mean(a,axis=2)
     imshow(image)
     #if I call show() here then only one window is displayed
     gray() #change the default colormap to gray
     figure(2)
     imshow(image)
     show()
  </code></pre>
  
  <p>I am wondering if anyone can please help me.</p>
  
  <p>Thanks a lot.</p>