From df2afbaa58e911e8d9149a23e6fa7f82e9f770ab Mon Sep 17 00:00:00 2001 From: Grzegorz Latosinski Date: Wed, 7 Sep 2022 20:39:39 +0200 Subject: [PATCH] [#37192] graph: Fixed additions of newline Signed-off-by: Grzegorz Latosinski --- graph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph.py b/graph.py index ad1774c..ef83b63 100644 --- a/graph.py +++ b/graph.py @@ -407,8 +407,8 @@ def render_ascii_plot( with open(outpath, 'w') as outfile: with redirect_stdout(outfile): print(summary) + print('\n\n') for title, xtitle, xunit, ytitle, yunit, ydata in zip(titles, xtitles, xunits, ytitles, yunits, ydatas): # noqa: E501 - print('\n\n') create_ascii_plot( title, xtitle, @@ -427,6 +427,7 @@ def render_ascii_plot( axes_color=axes_color, ticks_color=ticks_color ) + print('\n\n') def ascii_graph(session, fname='plot.png'):