fix too long line

This commit is contained in:
didier
2021-03-22 02:28:04 +00:00
parent e1859c0bda
commit a8b76bb809

View File

@@ -374,9 +374,8 @@ def _plot_and_print_results(
)
else:
if ns_parser.s_end_date:
plt.title(
f"{ns_parser.n_loops} loops - BACKTESTING: {model_name} on {s_ticker} - {ns_parser.n_days} days prediction"
)
s_title = f"{ns_parser.n_loops} loops - BACKTESTING: {model_name} on {s_ticker} - {ns_parser.n_days} days prediction"
plt.title(s_title)
else:
plt.title(
f"{ns_parser.n_loops} loops - {model_name} on {s_ticker} - {ns_parser.n_days} days prediction"