diff --git a/CHANGELOG.md b/CHANGELOG.md index 958be0b9cf2..df9e68acb0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,57 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [3.9.0] - 2019-04-19 + +### 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 diff --git a/README.md b/README.md index cf64de35468..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.8.1 +pip install plotly==3.9.0 ``` or conda. ``` -conda install -c plotly plotly=3.8.1 +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.9.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 diff --git a/js/package-lock.json b/js/package-lock.json index 0b7117c7901..d8490be98f6 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", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/js/package.json b/js/package.json index b2ecac13aee..c5030fe0173 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "0.9.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 bf8ed003270..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.9.1' +__frontend_version__ = '^0.10.0' diff --git a/plotlywidget/static/index.js b/plotlywidget/static/index.js index 00c5bcfc0a2..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.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","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 */