aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorViliam Luc <vluc@cisco.com>2021-12-15 08:40:09 +0100
committerTibor Frank <tifrank@cisco.com>2021-12-15 14:55:24 +0000
commite8cf3c940355454a9dfe000f6056581a0f8e5583 (patch)
tree9b2fb4fcb090bbb7b45b6402e5f345fac37676f6 /resources/tools/presentation
parent46b95d51f368c4f20ff2b1501cee2c6df75032e9 (diff)
trending: legend positioning
Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: If655d953eb8317f0cba6b3cb35bec232031df7dc
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_cpta.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_cpta.py b/resources/tools/presentation/generator_cpta.py
index 2182fe90c2..923d56bf42 100644
--- a/resources/tools/presentation/generator_cpta.py
+++ b/resources/tools/presentation/generator_cpta.py
@@ -878,7 +878,7 @@ def _generate_all_charts(spec, input_data):
if classification in (u"regression", u"outlier"):
result = u"FAIL"
- txt_file.write(f"{legend_str}regression in percentage ]")
+ txt_file.write(f"\n{legend_str}regression in percentage ]")
file_name = \
f"{spec.cpta[u'output-file']}/progressions-{job_name}.txt"
@@ -905,7 +905,7 @@ def _generate_all_charts(spec, input_data):
txt_file.write(f"{tst_name} [ {trend}M | "
f"#{number} | {ltc}% ]\n")
- txt_file.write(f"{legend_str}progression in percentage ]")
+ txt_file.write(f"\n{legend_str}progression in percentage ]")
else:
result = u"FAIL"