How to remove < on_event > callback?

I added MouseMove event callback to my Plot. Or may be two or more callbackes.

But how can I remove specific callback? Can I get some entire list of callbackes?

I know about .remove_on_change method. But it is not suitable for removing .on_event callbackes? Or not?

Hrm, there isn’t one, which I guess is an oversight. But you are also the first person to ever ask about it, so it’s not surprising it never got any attention. Feel free to open a GitHub Issue about it. In the mean time all I can suggest is having the callback check some flag you set, in order to exit immediately when you want it “off”.

1 Like

Thanks, Bryan! I will do it soon.