From: Tibor Frank Date: Wed, 30 Jun 2021 11:44:45 +0000 (+0200) Subject: Report: Change Throughput to Tput in graphs titles X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=c3b989790c6367a74fbccfe7b610a5529fe50193 Report: Change Throughput to Tput in graphs titles Change-Id: Icbd23f4c7339765985f1614debeadf1f4332753a Signed-off-by: Tibor Frank --- 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]