-
Notifications
You must be signed in to change notification settings - Fork 794
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
Consider switching the default renderer to one that supports offline renderering #2797
Comments
I'll also note that when I was testing renderers for VegaFusion, it looks like the default "html" renderer now works fine in Colab and Kaggle, so we may not need to specialized versions anymore. |
Are there any subtleties I might be missing related to using
I get the following message
I have tried running the following command from the terminal:
|
Some history here: originally,
The default mimetype renderer probably caused the biggest support burden of anything in the Altair package. Eventually, we managed to create an HTML renderer that basically worked everywhere (not a small feat given how vega-lite is packaged with respect to its interaction with requirejs), with the main downside being that it requires web access. Switching to that greatly reduced the number of user questions about rendering charts on various notebook platforms. Offline rendering is great when it works, but mostly it doesn't work (as @ChristopherDavisUCI is finding above) and I think going back to that as a default would be a mistake. |
Maybe when Jupyter Notebook's release v7 is out, which is based on jupyterlab, it makes sense to switch the default renderer to one that support offline rendering? This is not the highest priority right now, but I thought I would record the idea. Maybe we could also trim down the amount of available renderers to simplify the selection a bit (at least
html
anddefault
are the same, maybe alsojupyterlab
andmimetype
?). Based on the discussion here vega/vegafusion#204 (reply in thread)The text was updated successfully, but these errors were encountered: