From 450e3edd4e78915c24a646b341bdcf1b49ed5185 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 23 Nov 2023 07:25:43 -0500 Subject: [PATCH] Update Vega-Lite to 5.16.3 in JupyterChart --- NOTES_FOR_MAINTAINERS.md | 6 ++++-- altair/jupyter/js/index.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NOTES_FOR_MAINTAINERS.md b/NOTES_FOR_MAINTAINERS.md index f8f09b300..491edcafe 100644 --- a/NOTES_FOR_MAINTAINERS.md +++ b/NOTES_FOR_MAINTAINERS.md @@ -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&deps=vega-lite@5.15.1"; diff --git a/altair/jupyter/js/index.js b/altair/jupyter/js/index.js index dbf4a0af2..81ad634e6 100644 --- a/altair/jupyter/js/index.js +++ b/altair/jupyter/js/index.js @@ -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/lodash-es@4.17.21/debounce"; export async function render({ model, el }) {