From b5f204341b48e4086d01b0c5f6c5523b427d2b29 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Wed, 16 Oct 2019 06:13:42 -0400 Subject: [PATCH 1/3] Added 4.2.0 CHANGELOG entry --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3574a9a92fe..ccd5cc5b81d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [4.2.0] - 2019-10-16 + +### Updated + - Updated Plotly.js to version 1.50.1. See the + [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1501----2019-10-15) + for more information + +### Added + - Added `treemap` trace type ([plotly.js#4185](https://github.com/plotly/plotly.js/pull/4185), [plotly.js#4219](https://github.com/plotly/plotly.js/pull/4219), [plotly.js#4227](https://github.com/plotly/plotly.js/pull/4227), [plotly.js#4242](https://github.com/plotly/plotly.js/pull/4242)) + - Added `add_*`/`select_*`/`for_each_*`/`update_*` convenience figure methods for annotations, shapes, and images ([#1817](https://github.com/plotly/plotly.py/pull/1817)) + - Added `overwrite` kwarg to `update*` figure methods to fully replace property values, rather than update them recursively ([#1726](https://github.com/plotly/plotly.py/pull/1726)) + - Added `texttemplate` attribute to all traces that support on-graph text ([plotly.js#4071](https://github.com/plotly/plotly.js/pull/4071), [plotly.js#4179](https://github.com/plotly/plotly.js/pull/4179)) + - Added date custom formatting in `hovertemplate` and `texttemplate` e.g. `'%{x|%b %-d, %Y}'` ([plotly.js#4071](https://github.com/plotly/plotly.js/pull/4071)) + - Added transition support to `bar` trace length, width, on-graph text positioning, marker style and error bars ([plotly.js#4180](https://github.com/plotly/plotly.js/pull/4180), [plotly.js#4186](https://github.com/plotly/plotly.js/pull/4186)) + - Added support for legend scrolling via touch interactions ([plotly.js#3873](https://github.com/plotly/plotly.js/pull/3873), [plotly.js#4214](https://github.com/plotly/plotly.js/pull/4214)) + +### Fixed + - Fixed `iframe` renderer on Python 2 ([#1822](https://github.com/plotly/plotly.py/pull/1822)) + - Fixed use of merged templates in plotly.express ([#1819](https://github.com/plotly/plotly.py/pull/1819)) + ## [4.1.1] - 2019-09-02 ### Updated From c9c0c6eebfe8d9d235410d22a07de61885dbb2ff Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Wed, 16 Oct 2019 06:17:38 -0400 Subject: [PATCH 2/3] Update README to version 4.2.0 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e59c46b0d6f..36404140af7 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==4.1.1 +pip install plotly==4.2.0 ``` or conda. ``` -conda install -c plotly plotly==4.1.1 +conda install -c plotly plotly=4.2.0 ``` ### Jupyter Notebook Support @@ -126,10 +126,10 @@ set NODE_OPTIONS=--max-old-space-size=4096 jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.0 --no-build # FigureWidget support -jupyter labextension install plotlywidget@1.1.1 --no-build +jupyter labextension install plotlywidget@1.2.0 --no-build # and jupyterlab renderer support -jupyter labextension install jupyterlab-plotly@1.1.2 --no-build +jupyter labextension install jupyterlab-plotly@1.2.0 --no-build # JupyterLab chart editor support (optional) jupyter labextension install jupyterlab-chart-editor@1.2 --no-build From 7a17fcb878c1fb738943490dae5054fb1bcac1e6 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Wed, 16 Oct 2019 18:00:42 -0400 Subject: [PATCH 3/3] bump extension versions --- packages/javascript/jupyterlab-plotly/package-lock.json | 2 +- packages/javascript/jupyterlab-plotly/package.json | 2 +- packages/javascript/plotlywidget/package-lock.json | 2 +- packages/javascript/plotlywidget/package.json | 2 +- packages/python/plotly/plotly/_widget_version.py | 2 +- packages/python/plotly/plotlywidget/static/index.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/javascript/jupyterlab-plotly/package-lock.json b/packages/javascript/jupyterlab-plotly/package-lock.json index a63a9bd4a19..e35201a6ac0 100644 --- a/packages/javascript/jupyterlab-plotly/package-lock.json +++ b/packages/javascript/jupyterlab-plotly/package-lock.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "1.1.2", + "version": "1.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/javascript/jupyterlab-plotly/package.json b/packages/javascript/jupyterlab-plotly/package.json index c293b5adaac..310403dbd60 100644 --- a/packages/javascript/jupyterlab-plotly/package.json +++ b/packages/javascript/jupyterlab-plotly/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "1.1.2", + "version": "1.2.0", "description": "The plotly JupyterLab extension", "author": "The plotly.py team", "license": "MIT", diff --git a/packages/javascript/plotlywidget/package-lock.json b/packages/javascript/plotlywidget/package-lock.json index cb39f16aaa1..9f5b5736fe0 100644 --- a/packages/javascript/plotlywidget/package-lock.json +++ b/packages/javascript/plotlywidget/package-lock.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "1.1.1", + "version": "1.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/javascript/plotlywidget/package.json b/packages/javascript/plotlywidget/package.json index ba1ee39de96..42b705f3535 100644 --- a/packages/javascript/plotlywidget/package.json +++ b/packages/javascript/plotlywidget/package.json @@ -1,6 +1,6 @@ { "name": "plotlywidget", - "version": "1.1.1", + "version": "1.2.0", "description": "The plotly JupyterLab extension", "author": "The plotly.py team", "license": "MIT", diff --git a/packages/python/plotly/plotly/_widget_version.py b/packages/python/plotly/plotly/_widget_version.py index 63618773b2e..df8aeec3a64 100644 --- a/packages/python/plotly/plotly/_widget_version.py +++ b/packages/python/plotly/plotly/_widget_version.py @@ -2,4 +2,4 @@ # for automated dev builds # # It is edited by hand prior to official releases -__frontend_version__ = "^1.1.1" +__frontend_version__ = "^1.2.0" diff --git a/packages/python/plotly/plotlywidget/static/index.js b/packages/python/plotly/plotlywidget/static/index.js index ccc69302387..0c2feb9d6ac 100644 --- a/packages/python/plotly/plotlywidget/static/index.js +++ b/packages/python/plotly/plotlywidget/static/index.js @@ -12569,7 +12569,7 @@ module.exports = function identity(d) { return d; }; /* 19 */ /***/ (function(module, exports) { -module.exports = {"name":"plotlywidget","version":"1.1.1","description":"The plotly JupyterLab extension","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","style/*.*"],"scripts":{"build":"npm run build:src","build:src":"rimraf dist && tsc","clean":"rimraf dist/ && rimraf ../../python/plotly/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","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.50.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}} +module.exports = {"name":"plotlywidget","version":"1.2.0","description":"The plotly JupyterLab extension","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","style/*.*"],"scripts":{"build":"npm run build:src","build:src":"rimraf dist && tsc","clean":"rimraf dist/ && rimraf ../../python/plotly/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","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.50.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}} /***/ }), /* 20 */