-
Notifications
You must be signed in to change notification settings - Fork 48
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
Plots missing after tab refresh in jupyterlab 0.33 #49
Comments
Thanks for the quality report @parente
|
@parente a work-around is to use
which will load BokehJS without checking for the notebook content being reading, so that plots will render correctly on reloading. |
Thanks @canavandl. That does indeed workaround the problem. |
noting still an issue with 1.0.0next but workaround still works too |
I have a similar problem, when I refresh the page of my Jupyter notebook, no plots are shown. output_notebook(hide_banner=True) But this does not solve the problem. I'd like the plots to show automatically in its latest state before refreshing, like matplotlib or seaborn do... |
@cuspime certainly we would like that to work to, though please understand the situation is very different and much more complicated than with MPL or seaboard, which only store simple PNGs. Bokeh has an entire separate JavaScript runtime that needs to execute and re-constitute live interactive plots, and that has to integrate with the notebook/jupyterlab which itself is a huge and complicated JavaScript runtime. This used to work. I am not sure what changed (on either side) to affect things. I will relay the same advice I did in #29 which is to raise a new issue (linked to this one) in the main Bokeh repo in order to raise the visibility on this issue (this repo does not see as much attention) |
I did some debugging today and there are several issues that need resolving to make the broad problem go away. I also noticed that integration with jupyter widgets doesn't fully work after a reload (can't update state), which significantly raises the priority of this issue to me. |
@mattpap did you mean to add this to 2.0.2? Or are we not tracking versions? (I have no idea what intentions here re: versioning this repo) |
The intention is to have 2.0.1 of jupyter_bokeh as soon as I sort out new tokens. |
I can add a new token to the vault if that's simplest |
Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing
shows in the JS console instead.The plots did reappear properly after refresh in lab 0.32 with jupyterlab_bokeh 0.5.
The text was updated successfully, but these errors were encountered: