On Mon, Aug 11, 2008 at 4:24 PM, nobody <[EMAIL PROTECTED]> wrote:
>
> Bump... Does no-one have a solution for this?
Sorry for not answering. There is no elegant way to do this so we
should add support. In the meantime, the following hack should work
>>> figs = [manager.canvas.figure for manager in
pylab._pylab_helpers.Gcf.get_all_fig_managers()]
And you asked about testing to see if a figure exists -- do you mean
by figure number? If so, you could check a number against the "num"
attribute from the figure list
>>> somenum in [fig.num for fig in figs]
JDH
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users