PAL: Set plot.ly version to 4.1.1 38/22338/6
authorTibor Frank <tifrank@cisco.com>
Fri, 27 Sep 2019 08:35:51 +0000 (10:35 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 3 Oct 2019 07:59:08 +0000 (07:59 +0000)
Change-Id: I137ee807a2802fa1f7b5b635e1162bf7fff07a57
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_plots.py
resources/tools/presentation/requirements.txt
resources/tools/presentation/specification.yaml

index beb1595..0e0faff 100644 (file)
@@ -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:
index 66a993d..7845af3 100644 (file)
@@ -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
index 6e454df..6e6ebf2 100644 (file)
           size: 16
       width: 700
       height: 900
+      hoverlabel:
+        namelength: -1
 
     plot-service-density:
       titlefont:
         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:
           size: 16
       width: 700
       height: 800
+      hoverlabel:
+        namelength: -1
 
     plot-rps:
       titlefont:
           size: 16
       width: 700
       height: 800
+      hoverlabel:
+        namelength: -1
 
     plot-throughput:
       titlefont:
           size: 16
         zeroline: False
         range: [0,50]
-      boxmode: "group"
-      boxgroupgap: 0.5
       autosize: False
       margin:
         t: 50
           size: 16
       width: 700
       height: 900
+      hoverlabel:
+        namelength: -1
 
     plot-throughput-speedup-analysis:
       titlefont:
   format:
     html:
     - full
-    pdf:
-    - minimal
+#    pdf:
+#    - minimal
 
 ################################################################################
 ###                               T A B L E S                                ###
   - "result"
   - "name"
   traces:
-    hoverinfo: "x+y"
+    hoverinfo: "y+name"
     boxpoints: "outliers"
     whiskerwidth: 0
   layout:
   - "result"
   - "name"
   traces:
-    hoverinfo: "x+y"
+    hoverinfo: "y+name"
     boxpoints: "outliers"
     whiskerwidth: 0
   layout:
     - "L2XCBASE"
     - "L2PATCH"
   traces:
-    hoverinfo: "x+y"
+    hoverinfo: "y+name"
     boxpoints: "all"
     whiskerwidth: 0
   layout:
     - "IP4FWD"
     - "IP6FWD"
   traces:
-    hoverinfo: "x+y"
+    hoverinfo: "y+name"
     boxpoints: "all"
     whiskerwidth: 0
   layout: