holoviz / panel

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

If `echarts` extension is loaded, all Panel objects fail to load when exporting notebook to HTML with `nbconvert` #4592

Closed riziles closed 1 year ago

riziles commented 1 year ago

ALL software version info

Description of expected behavior and the observed behavior

Panel objects should be visible in Notebook exported to HTML.

If echarts extension is loaded prior to export, no Panel objects render in exported notebook.

Complete, minimal, self-contained example code that reproduces the issue

Please see:

https://github.com/riziles/panel-issues/tree/main/echarts_0_14_4

Stack traceback and/or browser JavaScript console output

JS Console: Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing

Screenshots or screencasts of the bug in action

image

riziles commented 1 year ago

Thought this was a regression because I had it working previously, but I just realized that in the past I had used JupyterBook to manage the HTML export. That still works reliably. Closing this because JupyterBook is the better solution anyways.