Re: [Matplotlib-users] SpanSelector on multiple figures

2009-04-24 Thread Jae-Joon Lee
On Fri, Apr 24, 2009 at 4:09 AM, fjldurodie wrote: > Hi, > > Thanks for your reply : > > I think I will try and follow your last suggestion by passing a callback > function that is defined through another function (this is because the > program generates a series of figures that are all similar) :

Re: [Matplotlib-users] SpanSelector on multiple figures

2009-04-24 Thread fjldurodie
Hi, Thanks for your reply : I think I will try and follow your last suggestion by passing a callback function that is defined through another function (this is because the program generates a series of figures that are all similar) : def gen_onselect(ax): def onselect: # do the stuf

Re: [Matplotlib-users] SpanSelector on multiple figures

2009-04-23 Thread Jae-Joon Lee
On Mon, Apr 20, 2009 at 4:09 PM, fjldurodie wrote: > Hi, > > I'm wondering if it is possible to use SpanSelector on multiple figures > : my problem is that I can't think of a way to tell the onselect on > which axes(ses) of which figure it should try and do something. The > example works because t

[Matplotlib-users] SpanSelector on multiple figures

2009-04-23 Thread fjldurodie
Hi, I'm wondering if it is possible to use SpanSelector on multiple figures : my problem is that I can't think of a way to tell the onselect on which axes(ses) of which figure it should try and do something. The example works because there is only one SpanSelector active and "it" therefore kno

[Matplotlib-users] SpanSelector on multiple figures

2009-04-23 Thread justfred
Hi, I'm wondering if it is possible to use SpanSelector on multiple figures : my problem is that I can't think of a way to tell the onselect on which axes(ses) of which figure it should try and do something. The example works because there is only one SpanSelector active and "it" therefore knows