Closed iliatimofeev closed 6 years ago
The notebook
renderer is only available if you install the vega3 package, which renders charts in the notebook.
Please see the installation documentation here: https://altair-viz.github.io/getting_started/installation.html#installing-altair-with-jupyter-notebook
It's trivial, but maybe it can save someone's time:
vega3
should be installed in the current environment of notebook kernel, not in the environment where you launch jupyter notebook
. Otherwise, it will be listed as an enabled extension, but will not work as expected.
The problem applies to all notebooks in the tutorial
see https://github.com/altair-viz/altair/blob/8fb537bf1f453a9ad9af81da0286382727e3e3e1/altair/vegalite/v2/display.py#L78
alt.renderers.enable('colab')
returns...vegaEmbed is not defined...
, so I can't suggest a fix.