panel icon indicating copy to clipboard operation
panel copied to clipboard

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

Open maximlt opened this issue 1 year ago • 2 comments

(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

maximlt avatar Apr 29 '24 07:04 maximlt

Your link to the page is wrong.

philippjfr avatar May 14 '24 13:05 philippjfr

Your link to the page is wrong.

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

maximlt avatar May 14 '24 14:05 maximlt