Open enzotib opened 3 years ago
Sorry for the late reply, I hope you found your solution already!
I believe you can do that by passing remove=True
to the event function.
Something like:
canvas.on_mouse_move(my_handler)
# Later on remove it
canvas.on_mouse_move(my_handler, remove=True)
Let's tag it for missing documentation
Please, could you add a function to remove an event handler? Thank you