X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=40ba60d0ade8bf18cab2ff452fbabb0a907d3abb;hb=refs%2Fchanges%2F94%2F29694%2F1;hp=d31ccb1ed8a10ba3f2ab555d0995ba93ba60bc94;hpb=785cf6c2d77945d28424b1edeefacf0d0d236832;p=csit.git diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index d31ccb1ed8..40ba60d0ad 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -477,8 +477,10 @@ def plot_perf_box_name(plot, input_data): # Create plot layout = deepcopy(plot[u"layout"]) if layout.get(u"title", None): - if test_type in (u"HOSTSTACK", u"CPS"): + if test_type in (u"HOSTSTACK", ): layout[u"title"] = f"Bandwidth: {layout[u'title']}" + elif test_type in (u"CPS", ): + layout[u"title"] = f"CPS: {layout[u'title']}" else: layout[u"title"] = f"Throughput: {layout[u'title']}" if y_max: