From 11d58135b7250fa6c98efb6bd27181cb46f76f1e Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 9 Jul 2018 11:51:13 +0200 Subject: [PATCH] FIX: Implement changes required by Plot.ly 3.0.0 - Scatter.xaxix.autotick - Scatter.yaxis.range[] Change-Id: I171e0c4a796f713985b69fae23bfb768590274b4 Signed-off-by: Tibor Frank --- resources/tools/presentation/requirements.txt | 2 +- resources/tools/presentation/specification.yaml | 18 ++++-------------- resources/tools/presentation/specification_CPTA.yaml | 3 +-- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/resources/tools/presentation/requirements.txt b/resources/tools/presentation/requirements.txt index 9bbd1cff7e..272c24f0ba 100644 --- a/resources/tools/presentation/requirements.txt +++ b/resources/tools/presentation/requirements.txt @@ -8,5 +8,5 @@ pytz python-dateutil numpy pandas -plotly +plotly==3.0.0 PTable diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index 97e616a15d..4bd1060cbe 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -325,7 +325,6 @@ plot-cps: xaxis: autorange: True - autotick: False fixedrange: False gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" @@ -338,11 +337,10 @@ title: "Indexed Test Cases" zeroline: False yaxis: - gridcolor: "rgb(238, 238, 238)'" + gridcolor: "rgb(238, 238, 238)" hoverformat: ".4s" linecolor: "rgb(238, 238, 238)" linewidth: 1 - range: [] rangemode: "tozero" showgrid: True showline: True @@ -367,7 +365,6 @@ plot-rps: xaxis: autorange: True - autotick: False fixedrange: False gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" @@ -380,11 +377,10 @@ title: "Indexed Test Cases" zeroline: False yaxis: - gridcolor: "rgb(238, 238, 238)'" + gridcolor: "rgb(238, 238, 238)" hoverformat: ".4s" linecolor: "rgb(238, 238, 238)" linewidth: 1 - range: [] rangemode: "tozero" showgrid: True showline: True @@ -409,7 +405,6 @@ plot-throughput: xaxis: autorange: True - autotick: False fixedrange: False gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" @@ -422,11 +417,10 @@ title: "Indexed Test Cases" zeroline: False yaxis: - gridcolor: "rgb(238, 238, 238)'" + gridcolor: "rgb(238, 238, 238)" hoverformat: ".4s" linecolor: "rgb(238, 238, 238)" linewidth: 1 - range: [] showgrid: True showline: True showticklabels: True @@ -450,7 +444,6 @@ plot-latency: xaxis: autorange: True - autotick: False fixedrange: False gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" @@ -463,11 +456,10 @@ title: "Indexed Test Cases" zeroline: False yaxis: - gridcolor: "rgb(238, 238, 238)'" + gridcolor: "rgb(238, 238, 238)" hoverformat: "" linecolor: "rgb(238, 238, 238)" linewidth: 1 - range: [] showgrid: True showline: True showticklabels: True @@ -491,7 +483,6 @@ plot-throughput-speedup-analysis: xaxis: autorange: True - autotick: False fixedrange: False gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" @@ -509,7 +500,6 @@ hoverformat: ".4s" linecolor: "rgb(238, 238, 238)" linewidth: 1 - range: [] showgrid: True showline: True showticklabels: True diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml index 35b61cfcce..d7a3c1869c 100644 --- a/resources/tools/presentation/specification_CPTA.yaml +++ b/resources/tools/presentation/specification_CPTA.yaml @@ -94,7 +94,6 @@ tickformat: ".4s" title: "Throughput [pps]" hoverformat: ".4s" - range: [] gridcolor: "rgb(238, 238, 238)" linecolor: "rgb(238, 238, 238)" showline: True @@ -115,7 +114,7 @@ linewidth: 1 showticklabels: True tickcolor: "rgb(238, 238, 238)" - autotick: True + tickmode: "auto" tickformat: "%m%d" rangeselector: buttons: -- 2.16.6