aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-02-05 10:44:24 +0100
committerTibor Frank <tifrank@cisco.com>2021-02-05 10:44:24 +0100
commit0c02e000ae58474120246c484cf5458a76510288 (patch)
tree838e7aa6a66e98f76031106d1361ab290b12d7b4 /resources/tools/presentation/generator_plots.py
parent340c20a3f3908d832ad093349e1ccb14060e8035 (diff)
Report: Set range of x-axis for latency graphs, add data
Change-Id: Ibfa1d6d0fb851b8c2d55c0cc749307efb36a5a03 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.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 88af4a4665..7298babe53 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -398,10 +398,7 @@ def plot_hdrh_lat_by_percentile_x_log(plot, input_data):
)
layout[u"title"][u"text"] = f"<b>Latency:</b> {name}"
- layout[u"xaxis"][u"range"] = [0, 5]
- # layout[u"xaxis"][u"range"] = [
- # 0, round(log(100.0 / (100.0 - PERCENTILE_MAX), 10))
- # ]
+ layout[u"xaxis"][u"range"] = [0, 5.302]
fig.update_layout(layout)
# Create plot