-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Empty output in Colab #6049
Comments
Can you try installing the latest holoviews (1.18.1) + panel (1.3.6)? After that, can you then run |
That doesn't seem to solve the problem. Here is what I tried:
And it is giving the same no-output and Chrome developer tools console error.
|
Did anyone figure out how to resolve this issue? |
I can get figures to show by wrapping them in
|
So this seems to work: from panel.io.notebook import load_notebook
load_notebook()
hv.Curve([1, 2, 3]) For some reason the |
ALL software version info
Google Colab
Description of expected behavior and the observed behavior
I'm trying to run the demo for the
BoxEdit
module, but when I run the demo nothing is shownComplete, minimal, self-contained example code that reproduces the issue
This works:
Nothing is shown for this:
Stack traceback and/or browser JavaScript console output
Looking in the Chrome develop tools console
Screenshots or screencasts of the bug in action
Other things to note
This code was working as is on google colab in August 2023, but is not now working in December 2023
However this has no effect
Other things I've tried
I found this issue on colabtools github, Default ipywidgets don't show up in notebooks
This issue suggests that "Downgrading ipywidgets to 7.7.1" may help
I tried
The current version of
jupyter-bokeh
is3.0.7
and requiresipywidgets==8.*
The most current version of
jupyter-bokeh
that supportsipywidgets==7.7.1
is version3.0.2
.However in going from
3.0.2
=>3.0.7
there was a bug fixed to be compatible with the current version of bokeh3.3.2
, namelyThis fix can be monkey patched back into
jupyter-bokeh
version3.0.2
, so all together the code looks like this:However downgrading to ipywidgets did not resolve the problem
The text was updated successfully, but these errors were encountered: