aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_CPTA.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-06-19 10:46:42 +0200
committerTibor Frank <tifrank@cisco.com>2018-06-19 14:03:59 +0200
commit67c6fbcb8c531d1013ee4cc866e6743589a90ba2 (patch)
tree9bfc9cb2d862f28755073239f035248fe583824d /resources/tools/presentation/generator_CPTA.py
parent0c2c57d9965ab1db0d5404ad103871ac250339cb (diff)
CSIT-1133: Cosmetic improvements in trending plots
- Remove "outlier" from the colorbar - Remove anomalies from the legend Change-Id: Idd3255d912c48c80347a773a6b19307e90a53926 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_CPTA.py')
-rw-r--r--resources/tools/presentation/generator_CPTA.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py
index c996aca0bd..40fed8be78 100644
--- a/resources/tools/presentation/generator_CPTA.py
+++ b/resources/tools/presentation/generator_CPTA.py
@@ -163,8 +163,9 @@ def _generate_trending_traces(in_data, job_name, build_info, moving_win_size=10,
line={
"width": 1
},
+ showlegend=True,
legendgroup=name,
- name="{name}-thput".format(name=name),
+ name="{name}".format(name=name),
marker={
"size": 5,
"color": color,
@@ -180,7 +181,7 @@ def _generate_trending_traces(in_data, job_name, build_info, moving_win_size=10,
y=anomalies.values,
mode='markers',
hoverinfo="none",
- showlegend=True,
+ showlegend=False,
legendgroup=name,
name="{name}-anomalies".format(name=name),
marker={
@@ -231,6 +232,7 @@ def _generate_trending_traces(in_data, job_name, build_info, moving_win_size=10,
"width": 1,
"color": color,
},
+ showlegend=False,
legendgroup=name,
name='{name}-trend'.format(name=name)
)