"Manuel Malo de Molina" <manuelmalo@...287...> writes:
Simple question: Is there any way to know how many figures are there
opened in a moment?
I don't know of a way that is advertised to end-users. (There is
something in _pylab_helpers, but obviously you shouldn't rely on a
module named like that.)
You know, so the program doesn't draw over an existing one, just
creates a new figure.
You can achieve this simply by calling figure() without a figure
number. I would suggest that you keep a list of figure handles (the
objects returned by figure()) in your program so you can better keep
track of them.
···
--
Jouni K. Sepp�nen