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
My only guess is that the bokeh extension somehow changes how the jupyterlab server routes URL paths. I'd suggest raising the issue in that repository to see if they know why this might be happening.
@justinbois I am going through Altair issues to find those that have been resolved and can be closed. It looks to me like this issue can't be resolved on the Altair side of things so I am closing it, but please feel free to reopen and add a comment if there is something you don't think is resolved here yet.
If I launch a notebook in freshly installed JupyterLab with a code cell containing the following code, everything runs fine.
However, if I install the
jupyter_bokeh
labextension, The chart is not populated with data.Here is what the Vega-Lite source looks like.
The file
altair-data-8be5c259accbb02f2e137ba91b77b6f0.json
is indeed present in the directory of the notebook.The plot renders just fine if I do not use the data transformer (i.e., delete
alt.data_transformers.enable('json')
).Disabling the
jupyter_bokeh
labextension does not solve the problem, nor does uninstalling it. Uninstalling and reinstalling JupyterLab does work.I'm not sure what is causing this, but would love to be able to use Altair and Bokeh seamlessly in my projects, so any help or fixes are appreciated.
System information
The text was updated successfully, but these errors were encountered: