Get ax from mouse hover event #489
-
Hi, Is there any way to get the current axis from the mouse callback event? |
Beta Was this translation helpful? Give feedback.
Answered by
highfestiva
Jan 15, 2024
Replies: 1 comment 1 reply
-
Use partial. Like so: fplt.set_mouse_callback(partial(my_callback, ax), ax=ax) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
simsam8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use partial. Like so: