Is there any way to make this callback work for the ResetTool?
from bokeh.models import ResetTool, CustomJS
from bokeh.plotting import figure, show
p = figure(tools = ‘’)
p.line(x = [1, 2], y = [3, 4])
code = ‘’’ console.log(’ !!! INSIDE !!!’); } ‘’’
rest_tool = ResetTool()
rest_tool.js_event_callbacks = {‘custom_callbacks’: [CustomJS(code = code)] }
p.add_tools(rest_tool)
show(p)
``

