aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-06-30 13:44:45 +0200
committerTibor Frank <tifrank@cisco.com>2021-06-30 13:44:45 +0200
commitc3b989790c6367a74fbccfe7b610a5529fe50193 (patch)
treec80a14f0bbf35980ea5f1fd7be26adfaa158212a /resources/tools/presentation/generator_plots.py
parent6c8ba1c706a4e9e467ab5e2a4b676b9016f9e610 (diff)
Report: Change Throughput to Tput in graphs titles
Change-Id: Icbd23f4c7339765985f1614debeadf1f4332753a 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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index e674a3e5c8..af90124183 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -682,7 +682,7 @@ def plot_perf_box_name(plot, input_data):
layout[u"title"] = f"<b>RPS:</b> {layout[u'title']}"
layout[u"yaxis"][u"title"] = u"<b>Connection Rate [Mrps]</b>"
else:
- layout[u"title"] = f"<b>Throughput:</b> {layout[u'title']}"
+ layout[u"title"] = f"<b>Tput:</b> {layout[u'title']}"
if y_max and max(y_max) > 1:
layout[u"yaxis"][u"range"] = [0, max(y_max) + 2]
plpl = plgo.Figure(data=traces, layout=layout)
@@ -796,7 +796,7 @@ def plot_ndrpdr_box_name(plot, input_data):
layout[u"title"] = f"<b>CPS:</b> {layout[u'title']}"
else:
layout[u"title"] = \
- f"<b>Throughput:</b> {layout[u'title']}"
+ f"<b>Tput:</b> {layout[u'title']}"
if data_y_max:
layout[u"yaxis"][u"range"] = [0, max(data_y_max) / 1e6 + 1]
plpl = plgo.Figure(data=traces, layout=layout)
@@ -891,7 +891,7 @@ def plot_mrr_box_name(plot, input_data):
layout = deepcopy(plot[u"layout"])
if layout.get(u"title", None):
layout[u"title"] = (
- f"<b>Throughput:</b> {layout[u'title'].format(core=core)}"
+ f"<b>Tput:</b> {layout[u'title'].format(core=core)}"
)
if data_y_max:
layout[u"yaxis"][u"range"] = [0, max(data_y_max) + 1]