-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUG] [WebGL] Blank figures in Jupyter Lab Desktop #13665
Comments
This may be a problem with electoron.js. @alcrene, maybe you could try the suggestion from electron/electron#40684 (comment)? |
That seems to be the case. JLab Desktop uses its own cache folders (
Sure enough, after doing that I could relaunch Jupyter Lab Desktop and the example above worked as expected. |
I'm not sure there is anything we can do on our end apart from maybe a note in the docs |
Something that would have been very helpful when tracking this down would have more information on the figure itself. (It took me a while to think to open the JS console, and I think it’s safe to say most users would never think of that.)
(Taking care of course that the message would be displayed even after an error in the javascript stack.) |
@alcrene sure, but there's going to have to be some kind of generic mechanism to catch and surface errors, since individually crafting an error message for every conceivable situation is very far outside the realm of possible (there would be thousands or more). However, AFAIK there is already nominally an issue for that: #6884 though it may need some updating or re-triaging, or maybe a new issue should be opened to replace that discussion issue. cc @mattpap In any case I will close this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Software versions
Python version: 3.11 (conda environment installed with
jlab env create
)Browser name and version
Jupyter Lab Desktop
Jupyter notebook / Jupyter Lab version
4.0.11
Expected behavior
I’ve been experimenting with Jupyter Lab Desktop and ran into a weird issue with bokeh plots not being displayed.
I would expect inlined bokeh plots to work equally well whether I use JL Desktop or run Jupyter Lab in a browser.
Observed behavior
In JL Desktop, the bokeh figure is mostly blank (only the background grid appears).
The javascript console shows fatal errors related to WebGL.
This seems to occur only when I create Bokeh plots from within JL Desktop.
It does not occur if I activate the underlying conda environment myself and start Jupyter Lab from the console (thus running it in a browser.)
Steps to reproduce the screenshot above:
(Installing
jupyter_bokeh
also made no difference.)From within JLD, select Settings -> Server -> Custom Python environment -> opt/jld_bokeh_test
Then I run a test notebook with the code listed below
Example code
Stack traceback or browser console output
This is part of the console output shown in the screenshot.
Screenshots
This was originally reported on the Holoviews bug tracker.
The text was updated successfully, but these errors were encountered: