title: 'numpy.ndarray' object has no attribute 'imshow'
body: <p>I've been trying everything I can to get pyplot to display an image 5 times. I keep getting this error... </p>
  
  <p>Here is my code </p>
  
  <pre><code>import matplotlib.pyplot as plt
  import os.path
  import numpy as np
  
  '''Read the image data'''
  # Get the directory of this python script
  directory = os.path.dirname(os.path.abspath(__file__))
  # Build an absolute filename from directory + filename
  filename = os.path.join(directory, 'cat.gif')
  # Read the image data into an array
  img = plt.imread(filename)
  
  '''Show the image data'''
  # Create figure with 1 subplot
  fig, ax = plt.subplots(1, 5)
  # Show the image data in a subplot
  
  for i in ax:
      ax.imshow(img, interpolation='none')
  # Show the figure on the screen
  fig.show()
  </code></pre>
  
  <p>I'm sure it has something to do with the 2D array, but I really cant figure it out. </p>
  
  <p>Ive tried </p>
  
  <pre><code>for i in ax:
      ax[i].imshow(img, interpolation='none')
  # Show the figure on the screen
  fig.show()
  </code></pre>
  
  <p>But I just get:</p>
  
  <blockquote>
    <p>IndexError: only integers, slices (<code>:</code>), ellipsis (<code>...</code>),
    numpy.newaxis (<code>None</code>) and integer or boolean arrays are valid indices</p>
  </blockquote>