Skip to content

Commit 5ab6cb3

Browse files
authored
Update _plotting.py
1 parent 00bb39e commit 5ab6cb3

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
@@ -424,7 +424,8 @@ def _plot_superimposed_ohlc():
424424
millisecond='S').get(time_resolution))
425425
if not resample_rule:
426426
warnings.warn(
427-
f"'Can't superimpose OHLC data with rule '{resample_rule}' (index datetime resolution: '{time_resolution}'). "
427+
f"'Can't superimpose OHLC data with rule '{resample_rule}'"
428+
f"(index datetime resolution: '{time_resolution}'). "
428429
"Skipping.",
429430
stacklevel=4)
430431
return

0 commit comments

Comments
 (0)