I added a custom tool to my plot using CustomAction
. Now I want to invoke a callback on the python side when it’s being clicked. Is it possible?
Not directly. You could indirectly by configuring a DataModel
(or any model really) in the args
for the CustomAction
and then update some property on that model that has an on_change
handler hooked up.