Open delsuc opened 2 years ago
Hi @delsuc this is not an ipympl issue but rather a core matplotlib issue, I see the same behavior with the qt
backend. I suggest you re-open this issue over there: https://github.com/matplotlib/matplotlib/issues/new/choose
Thank you for the fast answer,
ok, ok I admit I did not check outside ipympl.
However, looking to the widgets.py
code, which does nothing but raising an exception, I thought it was the charge was on the backend to handle the case. If qt
does not do it either, then it means it is some kind of unfinished job.
I'm going to open the issue in matplotlib
but I believe I'll have to try to do it myself...
Describe the issue
I want to use a selector
matplotlib.widgets.RectangleSelector
, it is incompatible with zoom and pan So I try to call widget lock to prevent user from using zoom in the same time.minimum code:
if you then hit the zoom or pan matplotlib button, which also try to get the lock, you get
Alternatively, I could use the right click for the selector, but I have not found a way to restrict zoom and pan to left click only.
Versions