aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app/pal/trending/graphs.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-04-20 09:40:34 +0200
committerTibor Frank <tifrank@cisco.com>2022-04-20 09:40:34 +0200
commitf63e6b83d830734fdb94b8f0384a808f189711f1 (patch)
treea28aed5eb379778709d49fad2125b206b3c1a0c9 /resources/tools/dash/app/pal/trending/graphs.py
parenteefc901a89aa755ba41a2ec615da7610c57fe971 (diff)
feat(uti): hrdh latency graph
Change-Id: Ib08b31b6dda79c66f4d204145a1b2ed78e9636b4 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/trending/graphs.py')
-rw-r--r--resources/tools/dash/app/pal/trending/graphs.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/resources/tools/dash/app/pal/trending/graphs.py b/resources/tools/dash/app/pal/trending/graphs.py
index dc4e7afca8..4273d9d2f8 100644
--- a/resources/tools/dash/app/pal/trending/graphs.py
+++ b/resources/tools/dash/app/pal/trending/graphs.py
@@ -386,11 +386,6 @@ def graph_hdrh_latency(data: dict, layout: dict) -> go.Figure:
fig = None
- try:
- name = data.pop("name")
- except (KeyError, AttributeError):
- return None
-
traces = list()
for idx, (lat_name, lat_hdrh) in enumerate(data.items()):
try:
@@ -450,7 +445,6 @@ def graph_hdrh_latency(data: dict, layout: dict) -> go.Figure:
fig.add_traces(traces)
layout_hdrh = layout.get("plot-hdrh-latency", None)
if lat_hdrh:
- layout_hdrh["title"]["text"] = f"<b>{name}</b>"
fig.update_layout(layout_hdrh)
return fig