aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/report_gen/run_plot.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-04-24 10:56:32 +0200
committerPeter Mikus <pmikus@cisco.com>2017-04-24 09:00:16 +0000
commit55c99e66ca90a80f50e897b5b1c8db6063bb2448 (patch)
tree864509b48b9ff1f6d94065ac900b625773b7cd19 /resources/tools/report_gen/run_plot.py
parentbc26996dcd0e92af29e5208cbcecd8d347cf1210 (diff)
Fix: Report generation
- Add IPsec plots - Fix plots rendering Change-Id: Ie8f5d2fa6724268ac05ed4f6ea53bb7c593f676e Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/report_gen/run_plot.py')
-rw-r--r--resources/tools/report_gen/run_plot.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/resources/tools/report_gen/run_plot.py b/resources/tools/report_gen/run_plot.py
index 476813883f..98fc2baecc 100644
--- a/resources/tools/report_gen/run_plot.py
+++ b/resources/tools/report_gen/run_plot.py
@@ -195,7 +195,7 @@ def main():
else:
if args.plot == 'box':
traces.append(plgo.Box(
- x=[str(i+1)+'. TC'] * len(ydata[suite][1::2]),
+ x=[str(i+1)+'.'] * len(ydata[suite][1::2]),
y=ydata[suite][1::2],
name=str(i+1)+'. '+suite.lower().replace('-ndrdisc',''),
hoverinfo='x+y',
@@ -249,19 +249,17 @@ def main():
boxgroupgap=0.5,
autosize=False,
margin=dict(
- autoexpand=False,
- b=200,
+ t=50,
+ b=20,
l=50,
- r=50,
+ r=20,
),
showlegend=True,
legend=dict(
orientation='h',
- y=-1,
- yanchor='bottom',
),
width=700,
- height=700,
+ height=1000,
)
# Create plot
plpl = plgo.Figure(data=traces, layout=layout)