Holoviews not showing plots with plotly backend in vscode when "Jupyter Notebook Renderers" extension is enabled
@YoraiLevi
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)
Software Version Info
Tested with versions 1.0.0 and 1.1.0 of the Jupyter Notebook Renderers extensionpython --version
Python 3.13.1
pip freeze
asttokens==3.0.0
bleach==6.2.0
bokeh==3.6.3
certifi==2025.1.31
charset-normalizer==3.4.1
colorama==0.4.6
colorcet==3.1.0
comm==0.2.2
contourpy==1.3.1
debugpy==1.8.13
decorator==5.2.1
executing==2.2.0
holoviews==1.20.2
idna==3.10
ipykernel==6.29.5
ipython==9.0.2
ipython_pygments_lexers==1.1.1
jedi==0.19.2
Jinja2==3.1.6
jupyter_client==8.6.3
jupyter_core==5.7.2
linkify-it-py==2.0.3
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.2
mdurl==0.1.2
narwhals==1.32.0
nest-asyncio==1.6.0
numpy==2.2.4
packaging==24.2
pandas==2.2.3
panel==1.6.1
param==2.2.0
parso==0.8.4
pillow==11.1.0
platformdirs==4.3.7
plotly==6.0.1
prompt_toolkit==3.0.50
psutil==7.0.0
pure_eval==0.2.3
Pygments==2.19.1
pyparsing==3.2.3
python-dateutil==2.9.0.post0
pytz==2025.2
pyviz_comms==3.0.4
pywin32==310
PyYAML==6.0.2
pyzmq==26.3.0
requests==2.32.3
six==1.17.0
stack-data==0.6.3
tornado==6.4.2
tqdm==4.67.1
traitlets==5.14.3
typing_extensions==4.12.2
tzdata==2025.2
uc-micro-py==1.0.3
urllib3==2.3.0
wcwidth==0.2.13
webencodings==0.5.1
xyzservices==2025.1.0
Description of expected behavior and the observed behavior
When the Jupyter Notebook Renderers extension is enabled and using the plotly backend diagrams aren't visible. using bokeh or matplotlib backends displays charts correctly when the extension is enabled
Tested with versions 1.0.0 and 1.1.0 of the extension
Complete, minimal, self-contained example code that reproduces the issue
import holoviews as hv
hv.extension("plotly")
hv.Curve([1,2,3])
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
disabled Jupyter Notebook Renderers:
enabled Jupyter Notebook Renderers:
normal plotly charts fail to display when the extension is disabled (as expected)
normal plotly chart display normally even when the extension is enabled
Can recreate. Only on Windows, not Linux.