diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-04-24 10:56:32 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-04-24 11:43:00 +0200 |
commit | 8196090687e92e4c7a1a49ec9a8266833795d7f5 (patch) | |
tree | b58c9771f5774fde83ec48eba1eb1fe0b916b86f /resources/tools/report_gen/run_plot.py | |
parent | ed6fc128d21213c90764187b1eebbe62cc733d50 (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.py | 12 |
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) |