How do you get the current figure number in Python's matplotlib?
How do you get the current figure number in Python's matplotlib? Question: I’m playing around with an example script that shows how to switch back and forth between figures. I found the example here: http://matplotlib.org/examples/pylab_examples/multiple_figs_demo.html When I try to print out the figure number I get “Figure(640×480)” instead of the number 1 I was expecting. …