
I have the following bit of code to define the tools for my plot.
tools = [
PanTool(),
BoxZoomTool(),
WheelZoomTool(),
ResetTool(),
CrosshairTool(),
SaveTool(),
HoverTool(
tooltips=tooltips_top,
formatters={'@time': 'datetime'}
)
]
p1 = figure(plot_width=600,
plot_height=400,
tools=tools,
x_axis_type='datetime',
sizing_mode='stretch_width',
tooltips=tooltips_top,
y_axis_location="right")
I’m not able to define the initial active_drag state. I tried many things such as:
p1.toolbar.active_drag = 'xpan'
but I’m not sure how to get this working.
The following approach works, but then I cannot configure the tools:
tools='xpan, xwheel_zoom, xbox_zoom, reset, hover',
active_drag='xpan',
active_scroll='xwheel_zoom'
I don’t know how to mix those two approaches, where you provide the tools as a list of strings and as a list of functions.
Sorry, I had to edit my question so it is a bit more clear.

