title: Make a matplotlib animation, by clf()'ing each frame
body: <p>i am trying to make the simplest matplotlib animation, using <code>animation.FuncAnimation</code>. I dont care about efficiency. i do not want to keep track of the plotted lines and update their data (in my desired application this would be annoying), i simply want to erase the plot before animating every frame. i thought somthing like this should work, but its not..</p>
  
  <pre><code>import matplotlib.animation as animation
  
  fig = Figure()
  
  def updatefig(i):
      clf()
      p = plot(rand(100))
      draw()
  
  anim = animation.FuncAnimation(fig, updatefig, range(10))
  </code></pre>