title: MoviePy shows frames as tiles across video
body: <p>I have this weird bug with moviePy. I'm creating a video using <a href="http://zulko.github.io/moviepy/getting_started/videoclips.html?highlight=videoclip#videoclip" rel="nofollow noreferrer">VideoClip</a> where frames are defined using numpy arrays.</p>
  
  <p>For the example, I'm using a single frame that looks like this (when printed with matplotlib)</p>
  
  <pre><code>plt.imshow(frame)
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MFnH8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MFnH8.png" alt="enter image description here"></a></p>
  
  <p>When I create a video using only this frame, it looks like this:</p>
  
  <pre><code>def get_frame(t):
      return frame
  
  animation = VideoClip(get_frame, duration=3)
  animation.ipython_display(fps=3, codec='mpeg4')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/CVqCP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CVqCP.png" alt="enter image description here"></a></p>
  
  <p><strong>Why does moviepy repeat the frame instead of stretching it?</strong></p>
  
  <p>I've tried playing with the video size etc, but nothing changed.</p>
  
  <hr>
  
  <p>Here's the whole code:</p>
  
  <pre><code>from moviepy.editor import VideoClip
  import numpy as np
  
  frame = np.zeros([400, 400])
  frame[10:40,50:80] = 100
  
  plt.imshow(frame)
  plt.show()
  
  def get_frame(t):
      return frame
  
  animation = VideoClip(get_frame, duration=3)
  animation.ipython_display(fps=3, codec='mpeg4')
  </code></pre>