Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 5 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /