
I’m developing a little gui, and am having the issue described below. I’m not convinced this is a bug yet, so I’m putting it on community support. Happy to move it over to github if it turns out there’s a bug.
Issue
show(bkapp,notebook_url=notebook_url) does not display the app bkapp in Jupyterlab
(note that notebook_url is correctly chosen to match the url and port.)
This happens when output_notebook() has been called in advance.
However, calling
import holoviews as hv
hv.extension('bokeh')
enables the call to show to work. Calling output_notebook after hv.extension will reintroduce the problem.
Example
This failure occures on the on the sample notebook notebook_embed.ipynb.
Installation stats
> jupyter labextension list
JupyterLab v2.2.4
Known labextensions:
app dir: ~\Miniconda3\envs\py38\share\jupyter\lab
@bokeh/jupyter_bokeh v2.0.3 enabled ok
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled ok
@pyviz/jupyterlab_pyviz v1.0.4 enabled ok
jupyterlab-jupytext v1.2.1 enabled ok
running %watermark and %watermark -iv on the linked notebook (with holoviews loaded) gives
CPython 3.8.5
IPython 7.17.0
compiler : MSC v.1916 64 bit (AMD64)
system : Windows
release : 10
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
CPU cores : 12
interpreter: 64bit
yaml 5.3.1
holoviews 1.13.3
Thanks!
-Steve


