From d36678fea967ca0d79a661130e5d3f3c87c39b81 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 08:04:51 -0400 Subject: [PATCH 1/6] Initial CHANGLELOG for 3.9.0 --- CHANGELOG.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 958be0b9cf2..d26ff0f9abf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,58 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [3.8.0] - ??? + + +### Updated + - Updated Plotly.js to version 1.47.4. See the + [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1474----2019-04-25) + for more information. + + +### Added + - Added "magic underscore" support for specifying nested figure properties + ([#1534](https://github.com/plotly/plotly.py/pull/1534)) + - Added `select_traces`, `for_each_trace`, and `update_traces` figure + methods for accessing and updating traces by subplot location and trace + properties + ([#1534](https://github.com/plotly/plotly.py/pull/1534)) + - Added `select_*`, `for_each_*`, and `update_*` figure methods for + accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) + ([#1548](https://github.com/plotly/plotly.py/pull/1548)) + - Added support for Dash Design Kit style color specifications + ([#1541](https://github.com/plotly/plotly.py/pull/1541)). Thanks to + [@wbrgss](https://github.com/wbrgss) for this contribution! + - Added support for the `plotly_unselect` plotly.js event in a new + `on_unselect` trace method + ([#1542](https://github.com/plotly/plotly.py/pull/1542)). Thanks to + [@denphi](https://github.com/denphi) for this contribution! + +### Changed + - Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and + `plotly_dark` templates for plotly.py version 4 + ([#1274](https://github.com/plotly/plotly.py/issues/1274), + [#1549](https://github.com/plotly/plotly.py/pull/1549)) + - Reordered the default colorway for the `plotly`, `plotly_white`, and + `plotly_dark` templates for plotly.py version 4 + ([#1549](https://github.com/plotly/plotly.py/pull/1549)) + +### Fixed + - Fixed package listing in setup.py + ([#1543](https://github.com/plotly/plotly.py/pull/1543)). Thanks to + [@jakevdp](https://github.com/jakevdp) for this contribution! + - Fixed built-in templates so that `heatmap` colorscales can be overridden + without specifying `autocolorscale=False` + ([#1454](https://github.com/plotly/plotly.py/issues/1454), + [#1549](https://github.com/plotly/plotly.py/pull/1549)) + - Fix `UnboundLocalError` error in the presence of a missing or corrupt + `~/.plotly/.config` file + ([#1551](https://github.com/plotly/plotly.py/pull/1551)) + - Fixed error when combining `sankey` traces with cartesian subplots + ([#1527](https://github.com/plotly/plotly.py/issues/1527), + [plotly/plotly.js#3802](https://github.com/plotly/plotly.js/pull/3802)) + + ## [3.8.1] - 2019-04-19 ### Updated From 544c4bc2f364672d2ccb09377ea0cbbecaf0f9c4 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 08:05:30 -0400 Subject: [PATCH 2/6] Updated README with release candidate versions in install instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf64de35468..7b752fe4cab 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is plotly.py may be installed using pip... ``` -pip install plotly==3.8.1 +pip install plotly==3.9.0rc1 ``` or conda. ``` -conda install -c plotly plotly=3.8.1 +conda install -c plotly/label/test plotly=3.9.0rc1 ``` ### Jupyter Notebook Support @@ -126,7 +126,7 @@ set NODE_OPTIONS=--max-old-space-size=4096 jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --no-build # FigureWidget support -jupyter labextension install plotlywidget@0.9.1 --no-build +jupyter labextension install plotlywidget@0.10.0-rc.1 --no-build # offline iplot support jupyter labextension install @jupyterlab/plotly-extension@0.18.2 --no-build From 105496f8ded3c5e47961174f6f49a70d97f863c4 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 08:36:58 -0400 Subject: [PATCH 3/6] Update widget to 0.10.0-rc.1 --- js/package-lock.json | 2 +- js/package.json | 2 +- plotly/_widget_version.py | 2 +- plotlywidget/static/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/package-lock.json b/js/package-lock.json index 0b7117c7901..bd7423dc4eb 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "0.9.1", + "version": "0.10.0-rc.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/js/package.json b/js/package.json index b2ecac13aee..816f2c678f3 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "0.9.1", + "version": "0.10.0-rc.1", "description": "The plotly.py ipywidgets library", "author": "The plotly.py team", "license": "MIT", diff --git a/plotly/_widget_version.py b/plotly/_widget_version.py index bf8ed003270..eda6252e057 100644 --- a/plotly/_widget_version.py +++ b/plotly/_widget_version.py @@ -2,4 +2,4 @@ # for automated dev builds # # It is edited by hand prior to official releases -__frontend_version__ = '0.9.1' +__frontend_version__ = '^0.10.0-rc.1' diff --git a/plotlywidget/static/index.js b/plotlywidget/static/index.js index 00c5bcfc0a2..199acf19e68 100644 --- a/plotlywidget/static/index.js +++ b/plotlywidget/static/index.js @@ -12642,7 +12642,7 @@ module.exports = function identity(d) { return d; }; /* 19 */ /***/ (function(module, exports) { -module.exports = {"name":"plotlywidget","version":"0.9.1","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}} +module.exports = {"name":"plotlywidget","version":"0.10.0-rc.1","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}} /***/ }), /* 20 */ From 42838277d79cb633a67c01a936a451902a179e28 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 18:18:20 -0400 Subject: [PATCH 4/6] Update CHANGELOG date and README installation instructions --- CHANGELOG.md | 3 +-- README.md | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d26ff0f9abf..b3432a695b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [3.8.0] - ??? - +## [3.8.0] - 2019-04-19 ### Updated - Updated Plotly.js to version 1.47.4. See the diff --git a/README.md b/README.md index 7b752fe4cab..fdea70b9f30 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is plotly.py may be installed using pip... ``` -pip install plotly==3.9.0rc1 +pip install plotly==3.9.0 ``` or conda. ``` -conda install -c plotly/label/test plotly=3.9.0rc1 +conda install -c plotly plotly=3.9.0 ``` ### Jupyter Notebook Support @@ -126,7 +126,7 @@ set NODE_OPTIONS=--max-old-space-size=4096 jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --no-build # FigureWidget support -jupyter labextension install plotlywidget@0.10.0-rc.1 --no-build +jupyter labextension install plotlywidget@0.10.0 --no-build # offline iplot support jupyter labextension install @jupyterlab/plotly-extension@0.18.2 --no-build From 06c33a4b140acf1db29ca841b76593113f7d46d0 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 18:38:09 -0400 Subject: [PATCH 5/6] Fixed CHANGELOG version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3432a695b5..df9e68acb0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [3.8.0] - 2019-04-19 +## [3.9.0] - 2019-04-19 ### Updated - Updated Plotly.js to version 1.47.4. See the From afba549fef81a60def6694071d0d6360a7707669 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Mon, 6 May 2019 18:40:12 -0400 Subject: [PATCH 6/6] Finalize plotlywidget version --- js/package-lock.json | 2 +- js/package.json | 2 +- plotly/_widget_version.py | 2 +- plotlywidget/static/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/package-lock.json b/js/package-lock.json index bd7423dc4eb..d8490be98f6 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "0.10.0-rc.1", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/js/package.json b/js/package.json index 816f2c678f3..c5030fe0173 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "0.10.0-rc.1", + "version": "0.10.0", "description": "The plotly.py ipywidgets library", "author": "The plotly.py team", "license": "MIT", diff --git a/plotly/_widget_version.py b/plotly/_widget_version.py index eda6252e057..f2b3a9e1942 100644 --- a/plotly/_widget_version.py +++ b/plotly/_widget_version.py @@ -2,4 +2,4 @@ # for automated dev builds # # It is edited by hand prior to official releases -__frontend_version__ = '^0.10.0-rc.1' +__frontend_version__ = '^0.10.0' diff --git a/plotlywidget/static/index.js b/plotlywidget/static/index.js index 199acf19e68..49b84189cab 100644 --- a/plotlywidget/static/index.js +++ b/plotlywidget/static/index.js @@ -12642,7 +12642,7 @@ module.exports = function identity(d) { return d; }; /* 19 */ /***/ (function(module, exports) { -module.exports = {"name":"plotlywidget","version":"0.10.0-rc.1","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}} +module.exports = {"name":"plotlywidget","version":"0.10.0","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}} /***/ }), /* 20 */