-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Vega-Lite to 5.16.3 in JupyterChart
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,9 +50,11 @@ Major version updates (e.g. Vega-Lite 1.X->2.X) have required substantial | |
rewrites, because the internal structure of the schema changed appreciably. | ||
|
||
## Updating the Vega-Lite in JupyterChart | ||
To update the Vega-Lite version used in JupyterChart, update the version in the esm.sh URL in `altair/jupyter/js/index.js`. | ||
To update the Vega-Lite version used in JupyterChart, update the version in the | ||
esm.sh URL in `altair/jupyter/js/index.js`. | ||
|
||
For example, to update to Vega-Lite 5.15.1, Vega 5 and Vega-Embed 6, the URL should be: | ||
For example, to update to Vega-Lite 5.15.1, Vega 5 and Vega-Embed 6, the URL | ||
should be: | ||
|
||
```javascript | ||
import embed from "https://esm.sh/vega-embed@6?deps=vega@5&[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import embed from "https://esm.sh/vega-embed@6?deps=vega@5&deps=vega-lite@5.15.1"; | ||
import embed from "https://esm.sh/vega-embed@6?deps=vega@5&deps=vega-lite@5.16.3"; | ||
import debounce from "https://esm.sh/[email protected]/debounce"; | ||
|
||
export async function render({ model, el }) { | ||
|