title: Plot colour image from a numpy array that has 3 channels
body: <p>in my Jupyter notebook I am trying to display an image that I am iterating on through Keras. The code I am using is as below</p>
  
  <pre><code>def plotImages(path, num):
   batchGenerator = file_utils.fileBatchGenerator(path+"train/", num)
   imgs,labels = next(batchGenerator)
   fig = plt.figure(figsize=(224, 224))
   plt.gray()
   for i in range(num):
      sub = fig.add_subplot(num, 1, i + 1)
      sub.imshow(imgs[i,0], interpolation='nearest')
  </code></pre>
  
  <p>But this only plots single channel, so my image is grayscale. How do I use the 3 channels to output a colour image plot. ?</p>