"Manuel Malo de Molina" <[EMAIL PROTECTED]> 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 http://www.iki.fi/jks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users