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
with devcontainers, based on the python devcontainer image:
mcr.microsoft.com/devcontainers/python:1-3.10-bookworm
with the full devcontainer configureation in here.
after updating pip versions:
I may be interested in making a pull request to address this
Not gonna lie I'm a little out of my depth here, and I am not eager to dive in.
But if you can point out the possible causes for this issue and outline the solution I can help you out with the PR.
The text was updated successfully, but these errors were encountered:
Version Info
Colab versions
On the latest Colab (released on 2024-07-22) with Google Chrome (127.0.6533.74) after updating pip versions:
These are the relevant pip versions to reproduce this:
>>> pip freeze | grep -e holoviews -e bokeh -e panel -e numpy bokeh==3.4.3 holoviews==1.19.1 jupyter_bokeh==4.0.5 numpy==1.26.4 panel==1.4.5
VSCode versions
On VSCode:
with devcontainers, based on the python devcontainer image:
mcr.microsoft.com/devcontainers/python:1-3.10-bookworm
with the full devcontainer configureation in here.
after updating pip versions:
These are the relevant pip versions to reproduce this:
>>> pip freeze | grep -e holoviews -e bokeh -e panel -e numpy bokeh==3.4.3 holoviews==1.19.1 jupyter_bokeh==4.0.5 numpy==2.0.1 panel==1.4.5
Behavior
Expected
In all cases when
hv.renderer('bokeh').theme = 'dark_minimal'
is used, the theme should be applied correctly.Observed
In some cases when
hv.renderer('bokeh').theme = 'dark_minimal'
is used, the themebgcolor
is not applied correctly.Here is a table listing all cases, where ✅ means it's fine, and ❌ means the
bgcolor
is not applied correctly:hv.Image
bk.plotting.show(hv.render(hv.Image))
pn.Row(hv.Image)
pn.Row(hv.render(hv.Image))
pn.Row(hv.Image).save()
->Chromepn.Row(hv.render(hv.Image)).save()
->ChromeIt seems like the
hv.render
is producing the problem, as well as the odd case ofholoviews
&panel
integration on VSCode.Reproduction
I reproduced this error in a Colab notebook.
Here is a minimal code reproduction:
I actually managed to bypass this issue in WaloViz with a custom
holoviews
hook, maybe it'll help with the investigation.Screenshots
Good
Wrong
bgcolor
Summary
Not gonna lie I'm a little out of my depth here, and I am not eager to dive in.
But if you can point out the possible causes for this issue and outline the solution I can help you out with the PR.
The text was updated successfully, but these errors were encountered: