Skip to content

Commit c5f5748

Browse files
committed
Rename combined extension jupyterlab-plotly
1 parent 00f8891 commit c5f5748

File tree

18 files changed

+12
-12
lines changed

18 files changed

+12
-12
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
name: Install tox
300300
command: 'sudo pip install tox requests yapf pytz decorator retrying inflect'
301301
- run:
302-
name: Update plotlywidget version
302+
name: Update jupyterlab-plotly version
303303
command: 'cd packages/python/plotly; python setup.py updateplotlywidgetversion'
304304
- run:
305305
name: Update plotly.js to dev

packages/javascript/plotlywidget/package-lock.json renamed to packages/javascript/jupyterlab-plotly/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/plotlywidget/package.json renamed to packages/javascript/jupyterlab-plotly/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "plotlywidget",
2+
"name": "jupyterlab-plotly",
33
"version": "0.11.0",
4-
"description": "The plotly.py ipywidgets library",
4+
"description": "The plotly JupyterLab extension",
55
"author": "The plotly.py team",
66
"license": "MIT",
77
"main": "src/index.js",
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"build": "npm run build:src",
2626
"build:src": "rimraf dist && tsc",
27-
"clean": "rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'",
27+
"clean": "rimraf dist/ && rimraf ../../python/plotly/jupyterlab_plotly/static'",
2828
"prepublish": "webpack",
2929
"test": "echo \"Error: no test specified\" && exit 1"
3030
},

packages/javascript/plotlywidget/src/jupyterlab-plugin.js renamed to packages/javascript/jupyterlab-plotly/src/jupyterlab-plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var base = require('@jupyter-widgets/base');
55
* The widget manager provider.
66
*/
77
module.exports = {
8-
id: 'plotlywidget',
8+
id: 'jupyterlab-plotly',
99
requires: [base.IJupyterWidgetRegistry],
1010
activate: function(app, widgets) {
1111
widgets.registerWidget({

packages/javascript/plotlywidget/webpack.config.js renamed to packages/javascript/jupyterlab-plotly/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = [
4747
},
4848
externals: ['@jupyter-widgets/base']
4949
},
50-
{// Embeddable plotlywidget bundle
50+
{// Embeddable jupyterlab-plotly bundle
5151
//
5252
// This bundle is generally almost identical to the notebook bundle
5353
// containing the custom widget views and models.
@@ -66,7 +66,7 @@ module.exports = [
6666
filename: 'index.js',
6767
path: path.resolve(__dirname, 'dist'),
6868
libraryTarget: 'amd',
69-
publicPath: 'https://unpkg.com/plotlywidget@' + version + '/dist/'
69+
publicPath: 'https://unpkg.com/jupyterlab-plotly@' + version + '/dist/'
7070
},
7171
node: {
7272
fs: 'empty'

packages/python/plotly/plotly/tests/test_core/test_offline/test_offline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_plotlyjs_version(self):
315315
path = os.path.join(
316316
packages_root,
317317
'javascript',
318-
'plotlywidget',
318+
'jupyterlab-plotly',
319319
'package.json',
320320
)
321321
with open(path, 'rt') as f:

packages/python/plotly/plotlywidget/static/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12440,7 +12440,7 @@ module.exports = function identity(d) { return d; };
1244012440
/* 18 */
1244112441
/***/ (function(module, exports) {
1244212442

12443-
module.exports = {"name":"plotlywidget","version":"0.11.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","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.48.1","@types/plotly.js":"^1.44.9","@jupyter-widgets/base":"^1.0.0","@jupyterlab/rendermime-interfaces":"^1.2.1","@phosphor/messaging":"^1.2.2","@phosphor/widgets":"^1.6.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js","mimeExtension":"dist/javascript-renderer-extension.js"}}
12443+
module.exports = {"name":"jupyterlab-plotly","version":"0.11.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/jupyterlab_plotly/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.48.1","@types/plotly.js":"^1.44.9","@jupyter-widgets/base":"^1.0.0","@jupyterlab/rendermime-interfaces":"^1.2.1","@phosphor/messaging":"^1.2.2","@phosphor/widgets":"^1.6.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js","mimeExtension":"dist/javascript-renderer-extension.js"}}
1244412444

1244512445
/***/ }),
1244612446
/* 19 */

packages/python/plotly/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
here = os.path.dirname(os.path.abspath(__file__))
1414
project_root = os.path.dirname(os.path.dirname(os.path.dirname(here)))
15-
node_root = os.path.join(project_root, 'packages', 'javascript', 'plotlywidget')
15+
node_root = os.path.join(project_root, 'packages', 'javascript', 'jupyterlab-plotly')
1616
is_repo = os.path.exists(os.path.join(project_root, '.git'))
1717

1818
npm_path = os.pathsep.join([
@@ -27,7 +27,7 @@ def plotly_js_version():
2727
project_root,
2828
'packages',
2929
'javascript',
30-
'plotlywidget',
30+
'jupyterlab-plotly',
3131
'package.json',
3232
)
3333
with open(path, 'rt') as f:

0 commit comments

Comments
 (0)