title: Get the list of figures in matplotlib
body: <p>I would like to:</p>
  
  <pre><code>pylab.figure()
  pylab.plot(x)
  pylab.figure()
  pylab.plot(y)
  # ...
  for i, figure in enumerate(pylab.MagicFunctionReturnsListOfAllFigures()):
    figure.savefig('figure%d.png' % i)
  </code></pre>
  
  <p>What is the magic function that returns a list of current figures in pylab?</p>
  
  <p>Websearch didn't help...    </p>