diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-11-03 15:48:40 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-11-03 15:48:40 +0100 |
commit | a1a6ce5505840750a34d86ada800367a183cf74b (patch) | |
tree | cb0f204e2bc45f2ec0bef02b78eddd7bbb97ae52 /resources/tools/presentation/generator_plots.py | |
parent | 579bccb6aa18c97f3c1a1636658eb41235a18b7a (diff) |
Report: Fix bugs in NAT44 graphs
Change-Id: I6de094fc0cb2acdfb6eeb22e6d85a65d2e9f1478
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 4 |
1 files changed, 3 insertions, 1 deletions
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"<b>Bandwidth:</b> {layout[u'title']}" + elif test_type in (u"CPS", ): + layout[u"title"] = f"<b>CPS:</b> {layout[u'title']}" else: layout[u"title"] = f"<b>Throughput:</b> {layout[u'title']}" if y_max: |