Uh oh!
There was an error while loading. Please reload this page.
chore: Update plotly.js to v3.7.0 - #5639
Conversation
…ild artifacts must be updated when updating plotly.js version
There was a problem hiding this comment.
Pull request overview
Updates the bundled Plotly.js dependency to v3.7.0 and refreshes the associated generated artifacts (schema, graph object docs, and JS build outputs) so plotly.py stays aligned with upstream Plotly.js behavior and configuration options.
Changes:
- Bump Plotly.js from 3.6.0 to 3.7.0 across Python and JS metadata, including the lockfile.
- Refresh generated schema / graph object documentation and related config descriptions (notably the “send to cloud” modebar button naming).
- Update
updateplotlyjsworkflow to rebuild JS bundles and include updated JupyterLab extension artifacts.
Reviewed changes
Copilot reviewed 9 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| plotly/offline/_plotlyjs_version.py | Bumps the recorded Plotly.js version used by offline machinery. |
| plotly/labextension/static/remoteEntry.2c524f5a18b54c442f5d.js | Updated JupyterLab extension remote entry bundle from rebuild. |
| plotly/labextension/static/1.3ad216e94ff8bdcd7b73.js.LICENSE.txt | New/updated bundled license text from rebuilt JS artifacts. |
| plotly/labextension/package.json | Updates Plotly.js dependency and remoteEntry filename pointer. |
| plotly/graph_objs/layout/_modebar.py | Regenerated modebar button documentation to match updated schema/config. |
| js/package.json | Bumps Plotly.js dependency version for the JS build workspace. |
| js/package-lock.json | Updates lockfile resolution/integrity to Plotly.js 3.7.0. |
| CONTRIBUTING.md | Updates contributor workflow for Plotly.js bumps (now includes build step). |
| commands.py | Makes update_plotlyjs rebuild bundles by default (build=True). |
| codegen/resources/plot-schema.json | Updates upstream schema/config descriptions for Plotly.js 3.7.0. |
| CHANGELOG.md | Adds Unreleased entry documenting Plotly.js bump and notable changes. |
Files not reviewed (1)
- js/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Link to issue
n/a
Description of change
Update Plotly.js version from 3.6.0 to 3.7.0 and all associated files.
Testing strategy
pip install -e .python -c "import plotly.express as px; fig = px.scatter(y=[1,2,3]); fig.show()"Guidelines