Open
Description
Via matplotlib/matplotlib#28453 we now rely on the buttons to be set on the MouseEvents
generated on motion notifications to detect when the mouse is release in pan/zoom events. I suspect the change needed on the kivy side is something like
matplotlib/kivy_garden/matplotlib/backend_kivy.py
Lines 1340 to 1344 in f08698d
def motion_notify_event(self, x, y, gui_event=None):
if mpl.__version__ > '3.10': # wrong way to check version
extra_kwargs = {'button': get_all_pressed_buttons_from(gui_event)}
else:
extra_kwargs = {}
event = MouseEvent(
"motion_notify_event", canvas=self, x=x, y=y, guiEvent=gui_event
)
self.callbacks.process("motion_notify_event", event)
Metadata
Metadata
Assignees
Labels
No labels