From 94e15b8973ecefe3db9b93bd416b06895c7dc452 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Tue, 12 Jan 2021 09:49:27 -0500 Subject: [PATCH 1/2] Small change to packaging of extension --- packages/javascript/plotlywidget/package.json | 2 +- packages/python/plotly/plotlywidget/static/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/javascript/plotlywidget/package.json b/packages/javascript/plotlywidget/package.json index e7e224de435..03a92b39904 100644 --- a/packages/javascript/plotlywidget/package.json +++ b/packages/javascript/plotlywidget/package.json @@ -34,7 +34,7 @@ }, "dependencies": { "plotly.js": "^1.58.4", - "@jupyter-widgets/base": "^2.0.0 || ^3.0.0", + "@jupyter-widgets/base": "^2.0.0 || ^3.0.0 || ^4.0.0", "lodash": "^4.17.4" }, "jupyterlab": { diff --git a/packages/python/plotly/plotlywidget/static/index.js b/packages/python/plotly/plotlywidget/static/index.js index c1c01b097b7..41003ce96e0 100644 --- a/packages/python/plotly/plotlywidget/static/index.js +++ b/packages/python/plotly/plotlywidget/static/index.js @@ -94,7 +94,7 @@ module.exports = g; /* 1 */ /***/ (function(module, exports) { -module.exports = {"name":"plotlywidget","version":"4.14.2","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":"webpack","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","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.58.4","@jupyter-widgets/base":"^2.0.0 || ^3.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}}} +module.exports = {"name":"plotlywidget","version":"4.14.2","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":"webpack","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","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.58.4","@jupyter-widgets/base":"^2.0.0 || ^3.0.0 || ^4.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}}} /***/ }), /* 2 */ From d4c9e5ef19a8b5da5a5a27a9fb30bdd90cee9383 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Tue, 12 Jan 2021 09:51:11 -0500 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85c4e05bacb..2eaed8ce11f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - `px.timeline()` now allows `hover_data` formatting of start and end times [3018](https://github.com/plotly/plotly.py/pull/3018) - +- Small change to packaging of `plotlywidget` extension for JupyterLab 3 [3021](https://github.com/plotly/plotly.py/pull/3021) ## [4.14.2] - 2021-01-11