aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-01-16 10:53:35 +0100
committerTibor Frank <tifrank@cisco.com>2020-01-16 10:53:35 +0100
commitb41156890e8871e8f9cd1f57cca7a6fe9ef3f3fa (patch)
treeca4a043be3369c6e9d39a5c3bbdd05682a75571a /resources/tools/presentation/generator_plots.py
parentbe32ae19e41a86df336d775e314462c6d0bf965c (diff)
Report: Latency by Percentile Distribution
- Set X-axis Change-Id: Ica300c7b1352c824bf51ac26e7485c9295ac60dc 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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 8af9a945d1..d2cc9c0c5e 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -137,14 +137,14 @@ def plot_lat_hdrh_percentile(plot, input_data):
hovertext.append(
f"Test: {name}<br>"
f"Direction: {directions[idx]}<br>"
- f"Percentile: {percentile:.5f}<br>%"
+ f"Percentile: {percentile:.5f}%<br>"
f"Latency: {item.value_iterated_to}uSec"
)
fig.add_trace(
plgo.Scatter(
x=xaxis,
y=yaxis,
- name=name,
+ name=f"{name} ({directions[idx]})",
mode=u"lines",
hovertext=hovertext,
hoverinfo=u"text"