SpanSelector on multiple figures


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 which
axes "it" should redraw.

For it to work on multiple figures (say I have a series of events that I
plot in a similar way each in a separate figure and I would like a
SpanSelector feature on each of the figures) I would need to have a
reference to which axes called the onselect through SpanSelector : then I
could get the axes's figure and manipulate the other subplots on that figure

Is there a way of doing this ?

Kind regards,


View this message in context:
Sent from the matplotlib - users mailing list archive at