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 09:46:52 +0000
commit6c948dfc7ce1d2325a0ba0a2884808a3fd8eea8d (patch)
tree178e7cf84a7d4084d2f7f409e17e0611dddabadc /resources/tools/presentation/generator_plots.py
parenta3b02b8f07129cdd24a74cc344d08e3da4818eaa (diff)
Report: Set range of x-axis for latency graphs, add data
Change-Id: Ibfa1d6d0fb851b8c2d55c0cc749307efb36a5a03 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 0c02e000ae58474120246c484cf5458a76510288)
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