From d711b8c0e9851bddb7a509a426765bafd85d58d7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 23 Aug 2019 20:42:59 +0200 Subject: [PATCH] Plot-profit should have subtitles per subplot --- freqtrade/plot/plotting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/plot/plotting.py b/freqtrade/plot/plotting.py index 5966f8ae9..1cc63ba1b 100644 --- a/freqtrade/plot/plotting.py +++ b/freqtrade/plot/plotting.py @@ -274,7 +274,8 @@ def generate_profit_graph(pairs: str, tickers: Dict[str, pd.DataFrame], name='Avg close price', ) - fig = make_subplots(rows=3, cols=1, shared_xaxes=True, row_width=[1, 1, 1]) + fig = make_subplots(rows=3, cols=1, shared_xaxes=True, row_width=[1, 1, 1], + subplot_titles=["AVG Close Price", "Combined Profit", "Protit per pair"]) fig['layout'].update(title="Profit plot") fig.add_trace(avgclose, 1, 1)