aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_plots.py8
-rw-r--r--resources/tools/presentation/requirements.txt2
-rw-r--r--resources/tools/presentation/specification.yaml27
3 files changed, 21 insertions, 16 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index beb1595006..0e0faff5bc 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -127,9 +127,7 @@ def plot_service_density_reconf_box_name(plot, input_data):
traces.append(plgo.Box(x=[str(i + 1) + '.'] * len(df[col]),
y=[y if y else None for y in df[col]],
name=name,
- hoverinfo="x+y",
- boxpoints="outliers",
- whiskerwidth=0))
+ hoverinfo="y+name"))
try:
# Create plot
layout = deepcopy(plot["layout"])
@@ -226,9 +224,7 @@ def plot_performance_box_name(plot, input_data):
traces.append(plgo.Box(x=[str(i + 1) + '.'] * len(df[col]),
y=[y / 1000000 if y else None for y in df[col]],
name=name,
- hoverinfo="x+y",
- boxpoints="outliers",
- whiskerwidth=0))
+ hoverinfo="y+name"))
try:
val_max = max(df[col])
except ValueError as err:
diff --git a/resources/tools/presentation/requirements.txt b/resources/tools/presentation/requirements.txt
index 66a993df79..7845af3c76 100644
--- a/resources/tools/presentation/requirements.txt
+++ b/resources/tools/presentation/requirements.txt
@@ -6,5 +6,5 @@ sphinxcontrib-programoutput
PyYAML==5.1.1
numpy==1.16.4
pandas==0.24.2
-plotly==3.3.0
+plotly==4.1.1
PTable==0.9.2
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index 6e454df861..6e6ebf29c8 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -1030,6 +1030,8 @@
size: 16
width: 700
height: 900
+ hoverlabel:
+ namelength: -1
plot-service-density:
titlefont:
@@ -1054,10 +1056,13 @@
ticklen: 0
tickwidth: 0
zeroline: False
- autosize: True
showlegend: False
+ paper_bgcolor: "#fff"
+ plot_bgcolor: "#fff"
width: 700
height: 700
+ hoverlabel:
+ namelength: -1
plot-cps:
titlefont:
@@ -1111,6 +1116,8 @@
size: 16
width: 700
height: 800
+ hoverlabel:
+ namelength: -1
plot-rps:
titlefont:
@@ -1164,6 +1171,8 @@
size: 16
width: 700
height: 800
+ hoverlabel:
+ namelength: -1
plot-throughput:
titlefont:
@@ -1202,8 +1211,6 @@
size: 16
zeroline: False
range: [0,50]
- boxmode: "group"
- boxgroupgap: 0.5
autosize: False
margin:
t: 50
@@ -1217,6 +1224,8 @@
size: 16
width: 700
height: 900
+ hoverlabel:
+ namelength: -1
plot-throughput-speedup-analysis:
titlefont:
@@ -1771,8 +1780,8 @@
format:
html:
- full
- pdf:
- - minimal
+# pdf:
+# - minimal
################################################################################
### T A B L E S ###
@@ -4676,7 +4685,7 @@
- "result"
- "name"
traces:
- hoverinfo: "x+y"
+ hoverinfo: "y+name"
boxpoints: "outliers"
whiskerwidth: 0
layout:
@@ -4696,7 +4705,7 @@
- "result"
- "name"
traces:
- hoverinfo: "x+y"
+ hoverinfo: "y+name"
boxpoints: "outliers"
whiskerwidth: 0
layout:
@@ -4726,7 +4735,7 @@
- "L2XCBASE"
- "L2PATCH"
traces:
- hoverinfo: "x+y"
+ hoverinfo: "y+name"
boxpoints: "all"
whiskerwidth: 0
layout:
@@ -4753,7 +4762,7 @@
- "IP4FWD"
- "IP6FWD"
traces:
- hoverinfo: "x+y"
+ hoverinfo: "y+name"
boxpoints: "all"
whiskerwidth: 0
layout: