aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-09-26 13:39:59 +0200
committerTibor Frank <tifrank@cisco.com>2019-09-26 13:39:59 +0200
commit60ecfa318740f00e009e9611be2390fbef5fe92d (patch)
tree9441fa037662a3ecac41fa075ad5c2078f009428 /resources
parent549ab4740d22aa6bfa10071632322077db5e4c9a (diff)
Report: Reconf tests: Fix legend
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I6ff5505e2d33d4dc1ce7cdfd028f6c8dc8143eb8
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_plots.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index a628d3f154..25a3736a26 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -116,14 +116,13 @@ def plot_service_density_reconf_box_name(plot, input_data):
col.lower().replace('-ndrpdr', '').
replace('2n1l-', ''))
tst_name = "-".join(tst_name.split("-")[3:-2])
- name = "{nr}. ({samples:02d} run{plural}, avg pkt loss: {loss:.1f}, " \
- "stdev: {stdev:.2f}) {name}".format(
+ name = "{nr}. ({samples:02d} run{plural}, packets lost average: " \
+ "{loss:.1f}, {name}".format(
nr=(i + 1),
samples=nr_of_samples[i],
plural='s' if nr_of_samples[i] > 1 else '',
name=tst_name,
- loss=mean(loss[col]) / 1000000,
- stdev=stdev(loss[col]) / 1000000)
+ loss=mean(loss[col]))
traces.append(plgo.Box(x=[str(i + 1) + '.'] * len(df[col]),
y=[y if y else None for y in df[col]],