You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, if I import solara; solara.FigureAltair(chart), I don't see any output, and then if I try to just look back at the plain altair chart again, I get Error loading script: Script error for "./_solara/cdn/vega-embed@6/build/vega-embed.min.js" https://requirejs.org/docs/errors.html#scripterror
Even if I restart the kernel, and just use altair (don't import or run anything solara-related), then I still get this error. I have to reload the VSCode window in order for altair to begin working again.
Notebook: solara_altair_bug.ipynb.zip
Overview screenshot:
I started with an altair chart (in a venv, in a .ipynb file in VSCode's native notebook editor), which worked (displayed as expected)
Then, if I
import solara; solara.FigureAltair(chart)
, I don't see any output, and then if I try to just look back at the plain altair chart again, I getError loading script: Script error for "./_solara/cdn/vega-embed@6/build/vega-embed.min.js" https://requirejs.org/docs/errors.html#scripterror
Even if I restart the kernel, and just use altair (don't import or run anything solara-related), then I still get this error. I have to reload the VSCode window in order for altair to begin working again.
Running in VSCode:
Version: 1.85.1 (Universal)
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:06.308Z (3 wks ago)
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.1.0
The text was updated successfully, but these errors were encountered: