holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.68k stars 509 forks source link

Plotly plots not displayed when Plotly extension loaded after Bokeh's on a website #6797

Open maximlt opened 5 months ago

maximlt commented 5 months ago

(I think it's a Panel issue but I'm not entirely sure)

The hvPlot Plotly guide currently doesn't display any Plotly plot. I discovered this is "caused" by import hvplot.pandas and hvplot.extension('plotly') being executed in two different cells, i.e. when I merge them and build the site the Plotly plots are displayed correctly. The guide used to display the plots without any problem, so something changed somewhere that caused this issue.

Note that this only affects the docs build, not the normal notebook experience.

image

Console logs:

image

philippjfr commented 4 months ago

Your link to the page is wrong.

maximlt commented 4 months ago

Your link to the page is wrong.

In fact it was missing, so it linked to the current page. Fixed.