Skip to content

Commit b35bced

Browse files
committed
ENH: Plot: add xwheel_pan tool, conditioned on activation for now
1 parent 886fc1d commit b35bced

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backtesting/_plotting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ def plot(*, results: pd.Series,
240240
x_axis_type='linear',
241241
width=plot_width,
242242
height=400,
243-
tools="xpan,xwheel_zoom,box_zoom,undo,redo,reset,save",
243+
# TODO: xwheel_pan on horizontal after https://github.com/bokeh/bokeh/issues/14363
244+
tools="xpan,xwheel_zoom,xwheel_pan,box_zoom,undo,redo,reset,save",
244245
active_drag='xpan',
245246
active_scroll='xwheel_zoom')
246247

0 commit comments

Comments
 (0)