Skip to content

Switch to use anywidget #4663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8a148f2
Switch to use anywidget
Jul 14, 2024
e21e3d7
Merge branch 'master' of github.com:plotly/plotly.py into anywidget
marthacryan Sep 12, 2024
d5d245c
Merge branch 'remove-requirejs' of github.com:plotly/plotly.py into a…
marthacryan Sep 13, 2024
6355ee4
Add package.json esbuild command and update test requirements to incl…
marthacryan Sep 13, 2024
3abdc7f
Call bundle command in the CI
marthacryan Sep 13, 2024
88b327e
Fix filepath
marthacryan Sep 13, 2024
70d536f
Move js stuff to plotly
manzt Sep 16, 2024
3b9c192
Cleanup tsconfig and types for build
manzt Sep 16, 2024
a338e6f
Ignore bundle
manzt Sep 16, 2024
aaefdaf
Keep bundle in MANIFEST.in
manzt Sep 16, 2024
ebba1c5
Restore package/* from master
manzt Sep 16, 2024
6d2a372
Update target
manzt Sep 16, 2024
b27643d
Add anywidget comment
manzt Sep 16, 2024
d4277ac
Merge branch 'master' of github.com:plotly/plotly.py into anywidget
marthacryan Oct 9, 2024
cc77778
Reset changes to circleci
marthacryan Oct 17, 2024
23f387a
Merge branch 'master' of github.com:plotly/plotly.py into anywidget
marthacryan Oct 17, 2024
c53835e
Undo changes to CHANGELOG
marthacryan Oct 17, 2024
0c9ffc9
Revert changes to javascript directory
marthacryan Oct 17, 2024
d1e24db
Add jsdeps to ci config
marthacryan Oct 18, 2024
195ea4e
Merge with master
marthacryan Oct 21, 2024
ce96898
Add dep on anywidget
marthacryan Oct 21, 2024
a3d8650
Update error messages when anywidget isn't installed
marthacryan Oct 21, 2024
3bc3535
Update docstring
marthacryan Oct 21, 2024
b5870e8
Update test to rely on installation of anywidget rather than version
marthacryan Oct 21, 2024
9302d29
Rename widget test
marthacryan Oct 21, 2024
a60e803
Black
marthacryan Oct 21, 2024
54d9fe4
Update setup.py to include both widget and jupyterlab extension build
marthacryan Oct 21, 2024
204b052
fix filepath of jupyterlab extension root
marthacryan Oct 21, 2024
263ef26
Update circleci config to include both widget and jupyterlab extensio…
marthacryan Oct 21, 2024
846e7b5
Fix formatting of config file
marthacryan Oct 21, 2024
08d8052
Update circleci config to include both widget and jupyterlab extensio…
marthacryan Oct 21, 2024
28b27af
revert changes to pypi build
marthacryan Oct 21, 2024
eb70d86
Black
marthacryan Oct 21, 2024
a911f53
Remove extra call to setup.py
marthacryan Oct 21, 2024
2a7208f
Add jsdeps call to optional tests
marthacryan Oct 21, 2024
45fca22
Move jsdeps call to core tests
marthacryan Oct 21, 2024
cae0088
Reset javascript file
marthacryan Oct 22, 2024
93210e6
Move jsdeps to an earlier step
marthacryan Oct 22, 2024
f553634
Move jsdeps to an earlier step
marthacryan Oct 22, 2024
7664ac9
Merge branch 'master' of github.com:plotly/plotly.py into anywidget
marthacryan Oct 22, 2024
3578bac
Call npm run build directly in circle ci config
marthacryan Oct 22, 2024
0920b9d
restore changes to setup.py
marthacryan Oct 22, 2024
2dbdcea
Reset widget version
marthacryan Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ commands:
- run:
name: Install dependencies
command: |
cd packages/javascript/jupyterlab-plotly && npm run bundle && cd ../../..
cd packages/python/plotly
python -m venv venv
. venv/bin/activate
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).

- Fixed a bug in integer validation of arrays that threw an error when an array contained a mix of strings and integers.

- Fixed a bug in JupyterLab >= 4 and Jupyter Notebook >= 7 that caused latex to not render in plotly charts.

- Removed require.js from the generated javascript in plotly charts.

## [5.23.0] - 2024-07-23

### Updated
Expand Down
1 change: 1 addition & 0 deletions packages/javascript/jupyterlab-plotly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"build:nbextension": "webpack --mode=production",
"bundle": "esbuild --bundle --format=esm --outfile=../../python/plotly/plotly/bundle.js src/Figure.ts",
"clean": "npm run clean:lib && npm run clean:nbextension && npm run clean:labextension",
"clean:lib": "rimraf lib",
"clean:labextension": "rimraf ../../python/plotly/jupyterlab_plotly/labextension",
Expand Down
Loading