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 F

[Matplotlib-users] Sliders: only update funtion on button_release_event

2007-01-26 Thread Martin Richter
Hello everyone, I was playing around with this /examples/widgets/sliders.py and thought about how to use it in my case. I'd like to controll a parameter which - if changed - starts a calculation which last about some seconds. So dragging=False would be exactly what I'm looking for! But on the

Re: [Matplotlib-users] Subplot order

2007-01-15 Thread Martin Richter
I think the easiest way would be using a dictionary: d = {221:221, 222:223, 223:222, 224:224} for i in arange(4): subplot(d[i+221]) plot(arange(10)) text(0.5,0.5,'i=%d'%i) Bye, Martin - Take Surveys. Earn Cash.

[Matplotlib-users] giving parameters to func when using events

2006-12-08 Thread Martin Richter
Hello everyone, below is a little code - what it actually does is quite self-explanatory. (When clicking with left - draw a red circle. When the right button is pressed switch to a different mode. Now green squares are drawn and so on.) My question now is: Is there a way to avoid using global va

Re: [Matplotlib-users] disconnect an event when zoom-to-rectangle gets activated

2006-11-28 Thread Martin Richter
Thank you Angus, this was exactly what I was looking for! 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 to

[Matplotlib-users] disconnect an event when zoom-to-rectangle gets activated

2006-11-24 Thread Martin Richter
Hello everyone, although I thought this topic had been discussed earlier I wasn't able to find it in the archives. So please forgive me if I'm repeating something. Here the question I'm not able to answer on my own: Is there a possibility to disconnect an event when someone wants to use the zo