Skip to content

Commit 39e65af

Browse files
committed
Merge branch 'anywidget' of github.com:plotly/plotly.py into drop-notebook-6
2 parents 513798b + 99013dc commit 39e65af

14 files changed

+5
-14
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ jobs:
440440
cd packages/python/plotly/js
441441
npm install
442442
npm run build
443-
mv ../plotly/bundle.js ../../../../output
444443
445444
- run:
446445
name: Zip output

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ doc/check-or-enforce-order.py
5959
packages/javascript/jupyterlab-plotly/lib/
6060
packages/python/plotly/jupyterlab_plotly/labextension/
6161
packages/python/plotly/jupyterlab_plotly/nbextension/index.js*
62-
packages/python/plotly/plotly/bundle.js
62+
packages/python/plotly/plotly/widgetbundle.js
6363

6464
test/percy/*.html
6565
test/percy/pandas2/*.html

doc/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plotly==5.24.1
22
jupytext==1.16.4
3-
ipywidgets==7.7.2
43
jupyter-client<7
54
jupyter
65
notebook

packages/python/chart-studio/test_requirements/requirements_37.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ retrying==1.3.3
66
pytest==3.5.1
77
pandas==0.23.2
88
numpy==1.14.3
9-
ipywidgets==7.2.0
9+
anywidget
1010
matplotlib==2.2.3
1111
--editable=./plotly

packages/python/plotly/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ include LICENSE.txt
22
include README.md
33
include versioneer.py
44
include plotly/_version.py
5-
include plotly/bundle.js
5+
include plotly/package_data/widgetbundle.js

packages/python/plotly/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"build": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/bundle.js widget.ts",
3+
"build": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/package_data/widgetbundle.js widget.ts",
44
"watch": "npm run build -- --watch --sourcemap=inline",
55
"typecheck": "tsc --noEmit"
66
},

packages/python/plotly/plotly/basewidget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class BaseFigureWidget(BaseFigure, anywidget.AnyWidget):
1515
subclass
1616
"""
1717

18-
_esm = pathlib.Path(__file__).parent / "bundle.js"
18+
_esm = pathlib.Path(__file__).parent / "package_data" / "widgetbundle.js"
1919

2020
# ### _data and _layout ###
2121
# These properties store the current state of the traces and

packages/python/plotly/test_requirements/requirements_310_optional.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Pillow==10.2.0
88
pytest==7.4.4
99
pytz==2023.3.post1
1010
ipython[all]==7.22.0
11-
ipywidgets==8.0.2
1211
ipykernel==5.5.3
1312
jupyter==1.0.0
1413
scipy==1.11.4

packages/python/plotly/test_requirements/requirements_311_optional.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Pillow==10.2.0
88
pytest==7.4.4
99
pytz==2023.3.post1
1010
ipython[all]==7.22.0
11-
ipywidgets==8.0.2
1211
ipykernel==5.5.3
1312
jupyter==1.0.0
1413
scipy==1.11.4

packages/python/plotly/test_requirements/requirements_312_no_numpy_optional.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Pillow==10.2.0
77
pytest==7.4.4
88
pytz==2023.3.post1
99
ipython[all]==7.22.0
10-
ipywidgets<8
1110
ipykernel==5.5.3
1211
jupyter==1.0.0
1312
scipy==1.11.4

0 commit comments

Comments
 (0)