Open hoechenberger opened 3 years ago
sticking a print
statement into _butterfly_onpick
shows that the pick handler is getting called 4 times per click (twice for the black line, and twice for the red line superimposed on it). I see this behavior even on Matplotlib latest dev version (https://github.com/matplotlib/matplotlib/commit/93e716de372a8d6e95f999ce60ea8965d1488c4c). I was hoping it was already solved by https://github.com/matplotlib/matplotlib/pull/19611 but apparently this is a different problem.
MWE:
https://user-images.githubusercontent.com/2046265/115895458-ba078900-a45a-11eb-95ac-9e97e86c3de3.mov
Traceback: