Lenovo Thinkpad, Windows 10.
I recently updated Conda which I haven't used in a while. I'm trying to use Altair and after updating via conda update conda
and then looking at conda list
, among some of my installed packages I see:
Other package versions you can see below as the output at cell 5. I've gone to the link in the docs and tried all the suggestions (except for pip install, which I'm trying to avoid for now) but nothing has rendered an image. Any suggestions as to why? Other than using pip, how can I resolve this? I'm about ready to just uninstall and reinstall miniconda entirely.
I've also tried alt.renderers.enable('Jupyterlab')
in cell 4 and nothing changed.
The link in your error message goes here which says
<VegaLite 3 object>
This most likely means that you are using too old a version of JupyterLab. Altair 3.0 or later works best with JupyterLab version 1.0 or later
Update to JuptyerLab version 1.0 or later, and your chart should work. The reason is that older versions of JupyterLab do not include renderers for the Vega-Lite 3 charts produced by Altair 3.X.