From b53d0c7e27f914ea0fceaa237b2adc3635e7e1c2 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 18:09:41 -0400 Subject: [PATCH 1/6] Update getting started versions for plotly.py 4.1.0 --- python/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/getting-started.md b/python/getting-started.md index c1a3dc6ce..49b16c23b 100644 --- a/python/getting-started.md +++ b/python/getting-started.md @@ -46,12 +46,12 @@ Thanks to deep integration with the [orca](https://github.com/plotly/orca) image plotly.py may be installed using pip... ``` -$ pip install plotly==4.0.0 +$ pip install plotly==4.1.0 ``` or conda. ``` -$ conda install -c plotly plotly=4.0.0 +$ conda install -c plotly plotly=4.1.0 ``` This package contains everything you need to write figures to standalone HTML files. @@ -131,10 +131,10 @@ set NODE_OPTIONS=--max-old-space-size=4096 jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.0 --no-build # jupyterlab renderer support -jupyter labextension install jupyterlab-plotly@1.0.0 --no-build +jupyter labextension install jupyterlab-plotly@1.1.0 --no-build # FigureWidget support -jupyter labextension install plotlywidget@1.0.0 --no-build +jupyter labextension install plotlywidget@1.1.0 --no-build # JupyterLab chart editor support (optional) jupyter labextension install jupyterlab-chart-editor@1.2 --no-build From d00d036f5732a903cac3c9e8d67880b6ecc71046 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 18:13:00 -0400 Subject: [PATCH 2/6] Upload the full build directory as an artifact --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 170604248..0fd9dff70 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,5 +68,5 @@ jobs: fi - store_artifacts: - path: build/failures - destination: failures + path: build + destination: build From 8a4ed663306e065b8e0f6f3f27b6d67557d588e2 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 18:17:19 -0400 Subject: [PATCH 3/6] UPdate plotly requirements.txt version to 4.1.0rc2 for CI --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5cf4a3212..afac688c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -plotly==4.0.0 +plotly==4.1.0rc2 jupytext==1.1.1 jupyter notebook From 173840a736f893433157c8a3e17e040b24bfaae4 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 19:24:56 -0400 Subject: [PATCH 4/6] 4.1.0rc3 --- python/plotly-express.md | 8 ++++---- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python/plotly-express.md b/python/plotly-express.md index bf2a96d81..65a7692f2 100644 --- a/python/plotly-express.md +++ b/python/plotly-express.md @@ -20,7 +20,7 @@ jupyter: name: python nbconvert_exporter: python pygments_lexer: ipython3 - version: 3.6.7 + version: 3.7.3 plotly: description: Plotly Express is a terse, consistent, high-level API for rapid data exploration and figure generation. @@ -137,8 +137,8 @@ fig.show() ```python import plotly.express as px tips = px.data.tips() -fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_col="sex", - color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl") +fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_row="sex", + color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl", marginal_y='histogram') fig.show() ``` @@ -186,7 +186,7 @@ fig.show() ```python import plotly.express as px iris = px.data.iris() -fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y="histogram") +fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y=None) fig.show() ``` diff --git a/requirements.txt b/requirements.txt index afac688c4..4c82d46aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -plotly==4.1.0rc2 +plotly==4.1.0rc3 jupytext==1.1.1 jupyter notebook From 91cce41d74478cb4be17fa2fa61953db9d9842ae Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 19:39:36 -0400 Subject: [PATCH 5/6] Revert unintentional changes to plotly express notebook --- python/plotly-express.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/plotly-express.md b/python/plotly-express.md index 65a7692f2..bf2a96d81 100644 --- a/python/plotly-express.md +++ b/python/plotly-express.md @@ -20,7 +20,7 @@ jupyter: name: python nbconvert_exporter: python pygments_lexer: ipython3 - version: 3.7.3 + version: 3.6.7 plotly: description: Plotly Express is a terse, consistent, high-level API for rapid data exploration and figure generation. @@ -137,8 +137,8 @@ fig.show() ```python import plotly.express as px tips = px.data.tips() -fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_row="sex", - color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl", marginal_y='histogram') +fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_col="sex", + color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl") fig.show() ``` @@ -186,7 +186,7 @@ fig.show() ```python import plotly.express as px iris = px.data.iris() -fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y=None) +fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y="histogram") fig.show() ``` From 0d11123d36c3826f673395cb1c11a7a5992ec918 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 6 Aug 2019 20:31:56 -0400 Subject: [PATCH 6/6] update requirements plotly version to 4.1.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4c82d46aa..1c5e16cac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -plotly==4.1.0rc3 +plotly==4.1.0 jupytext==1.1.1 jupyter notebook