Re: [Matplotlib-users] Figure existence test

2008-08-13 Thread nobody

Thank you -- this is what I was looking for.  The only issue is that my fig
objects have no num attribute -- it is called number instead.  So if I
use this, instead, it works fine:

 somenum in [fig.number for fig in figs]

-Ian

-
I am a BugMeNot account and postings from this user may not always be from
the same person.
-- 
View this message in context: 
http://www.nabble.com/Figure-existence-test-tp18760841p18957882.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-
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=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Figure existence test

2008-08-11 Thread nobody

Bump...  Does no-one have a solution for this?

-
I am a BugMeNot account and postings from this user may not always be from
the same person.
-- 
View this message in context: 
http://www.nabble.com/Figure-existence-test-tp18760841p18934165.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-
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=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Figure existence test

2008-07-31 Thread nobody

Two questions for using Matplotlib (via interactive Python prompt, not pylab
interface):

1) How can I get a list of the currently extant figures?
-- In Matlab, I would just type get(0,'children') -- how would
Matplotlib handle this?

2) How can I test if a specified figure exists?

Thanks, --Ian

-
I am a BugMeNot account and postings from this user may not always be from
the same person.
-- 
View this message in context: 
http://www.nabble.com/Figure-existence-test-tp18760841p18760841.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-
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=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users