Hello! I got two questions:
- How can I use the span selector among all the subplots? I mean all the subplots should select the same span at the same time, I used
forto add spanselector to each axes, but what I can only do is like the picture. So how can I select a span on the whole figure with one vline?
- After I selected a span, can I call the function only when I double click the span I selected? Now I can only call the function once I release my mouse button.
Here is the code I add SpanSelector to each axes with a
self.signal_span_selectors[i] = SpanSelector( self.signal_ax[i], onselect=self.update_signal_span, direction='horizontal', useblit=True, props=dict(alpha=0.5, facecolor='red'), interactive=True)