From efe9604ddc835f8934830b8e54c445cc5a7073e4 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 30 Jun 2021 13:44:45 +0200 Subject: Report: Change Throughput to Tput in graphs titles Change-Id: Icbd23f4c7339765985f1614debeadf1f4332753a Signed-off-by: Tibor Frank (cherry picked from commit c3b989790c6367a74fbccfe7b610a5529fe50193) --- resources/tools/presentation/generator_plots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources') 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"RPS: {layout[u'title']}" layout[u"yaxis"][u"title"] = u"Connection Rate [Mrps]" else: - layout[u"title"] = f"Throughput: {layout[u'title']}" + layout[u"title"] = f"Tput: {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"CPS: {layout[u'title']}" else: layout[u"title"] = \ - f"Throughput: {layout[u'title']}" + f"Tput: {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"Throughput: {layout[u'title'].format(core=core)}" + f"Tput: {layout[u'title'].format(core=core)}" ) if data_y_max: layout[u"yaxis"][u"range"] = [0, max(data_y_max) + 1] -- cgit 1.2.3-korg