Skip to content

Commit 3f03208

Browse files
committed
1 parent 0b529a7 commit 3f03208

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

backtesting/_plotting.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,11 @@ def __eq__(self, other):
670670
code=_AUTOSCALE_JS_CALLBACK))
671671

672672
figs = figs_above_ohlc + [fig_ohlc] + figs_below_ohlc
673-
linked_crosshair = CrosshairTool(dimensions='both')
673+
linked_crosshair = CrosshairTool(
674+
dimensions='both', line_color='lightgrey',
675+
overlay=(Span(dimension="width", line_dash="dotted", line_width=1),
676+
Span(dimension="height", line_dash="dotted", line_width=1)),
677+
)
674678

675679
for f in figs:
676680
if f.legend:

0 commit comments

Comments
 (0)