Re: [Matplotlib-users] open figures list

2007-02-19 Thread Martin Richter
Hello Belinda,

I just stumbled over the same problem. The following will give what you (we) 
want:

[x.num for x in matplotlib._pylab_helpers.Gcf.get_all_fig_managers()]

Bye,
Martin

-
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


[Matplotlib-users] open figures list

2006-12-06 Thread belinda thom
Hello,

Is there a way to return a list of all the open figure numbers? For  
instance, if I had:

close('all')
figure(1)
[some plotting]
figure(5)
[some plotting]

I'd like to be able to have access to a command that returns the list  
[1, 5].

Thanks,

--b

-
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