X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Freport_gen%2Frun_plot.py;h=0a95396ac97e225eadef830b72e99cb90b3f8b90;hp=476813883fc2ef0dc84de8623691ba002905a68f;hb=c623ad8042127fcb4bbd3c9ffb646f40371b7510;hpb=5b702673375a2a098311c23ab83487d3e1e02e72 diff --git a/resources/tools/report_gen/run_plot.py b/resources/tools/report_gen/run_plot.py index 476813883f..0a95396ac9 100644 --- a/resources/tools/report_gen/run_plot.py +++ b/resources/tools/report_gen/run_plot.py @@ -195,11 +195,12 @@ 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', boxpoints='outliers', + whiskerwidth=0, )) elif args.plot == 'scatter': traces.append(plgo.Scatter( @@ -249,19 +250,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)