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
renderer issue after upgrading to v3 #1420
Comments
The Vega-Lite 3 renderer is built-in to JupyterLab, (added in jupyterlab/jupyterlab#6133) but that addition has not yet made it into a release. Until the next JupyterLab release, I'd suggest using Altair v3 with another frontend, such as Jupyter Notebook or Colab. |
Oh, and sorry about the docs being unhelpful. Once Altair 3 is actually released, we'll make certain the docs are relevant to Altair 3. |
Got it. That is very helpful to understand. Thanks! |
As a follow-up, with the release of jupyterlab 1.0.0a3 yesterday, I was able to update jupyterlab and use Altair v3 successfully. It's worked great so far! |
is it compatible with jupyterlab-0.35.5 ? |
No, 0.35.5 still only has the vega-lite 2 renderer. |
35.6 still not has it. At least it is not working as of right now. As an alternative I found it easier to install jupyterlab from github and use this instead. So do:
and then start it wih:
I installed jupyterlab as user because I can later on remove it and it wont conflict with user system wide installation. I can also always start the system wide (stable) version with |
Correct. As mentioned above and in the documentation, version 1.0 or later is required for Altair 3.
There's no need to clone the jupyter repo; you can update to the prerelease with
or by targeting the explicit version you want to install:
To avoid installing system-wide, I'd recommend using a virtualenv or conda env rather than a |
Hi - I get the identical error even when using jupyter notebook (i.e. not jupyter lab). I'm on windows 10 and using chrome. My environment is below. I can try installing the pre-release jupyterlab, however, should we expect altair to render in jupyter notebooks? I also tried each setting each of these renderers without luck:
Used a virtual env and only installed the bare minimum from conda forge.
env: Name Version Build Channel Thanks! |
Love the package and the approach. I have successfully used version 2, but I am having renderer issues after upgrading to version 3. Perhaps my real problem is that I don't use git and so don't deeply understand version control and therefore don't know where the documentation lives for version 3.
I am running altair 3.0.0rc1, jupyterlab 0.35.4, python 3.6.8
gets me:
The link goes to the version 2.4.1 documentation, which alludes to having at least jupyterlab 0.32, which I do.
My question probably betrays my shallow understanding, but hopefully there are other shy lurkers who I'm speaking for as well.
Many thanks in advance,
Vinod
The text was updated successfully, but these errors were encountered: