Bokeh plots not shown in JupyterLab

I have a strange case where on machine1 I’d see the plots when opening a notebook and on machine2 I don’t see them. Same OS distribution (same version), same conda env, same Firefox version. Any help appreciated.

Hi @terryw you’ll need to provide alot more information for any chance of speculation:

  • all relevant package versions
  • any errors or Bokeh-related warnings in the browser JS console
  • code to reproduce (does it only happen with this code? or other code?)
  • exact steps taken (does “opening the notebook” also mean executing it? Be very detailed)

For some reason none of the machines now displays plots when opening the notebook (without executing). Haven’t changed anything.

This plot is always visible:

polars_df.cumsum().to_pandas().hvplot(rasterize=True)

This is not visible:

import functools
import operator

pd_df = polars_df.to_pandas()
plots = [df_pd.hvplot.scatter(x="timestamp", y=f"a_{i}", c=f"b_{i}",
                                             cmap="YlGnBu", size=point_size, width=width, height=height, hover=False)
                        for side in ["col1", "col2"]
                        for i in range(1, 10 + 1)]
plot_line = df_pd.hvplot.line(x="timestamp", y=["col1", "col2"], color=["orange", "red"], legend=False,
                             width=width, height=height)
plot = functools.reduce(operator.mul, plots + [plot_line])
plot.opts(bgcolor=background_color)

installed packages:

name: test
channels:
  - numba
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=2_gnu
  - argon2-cffi=23.1.0=pyhd8ed1ab_0
  - argon2-cffi-bindings=21.2.0=py39hd1e30aa_4
  - arrow=1.3.0=pyhd8ed1ab_0
  - asttokens=2.4.0=pyhd8ed1ab_0
  - async-lru=2.0.4=pyhd8ed1ab_0
  - attrs=23.1.0=pyh71513ae_1
  - aws-c-auth=0.7.4=hc8144f4_1
  - aws-c-cal=0.6.2=h09139f6_2
  - aws-c-common=0.9.3=hd590300_0
  - aws-c-compression=0.2.17=h184a658_3
  - aws-c-event-stream=0.3.2=hd6ebb48_1
  - aws-c-http=0.7.13=hc690213_1
  - aws-c-io=0.13.32=h89a0be2_4
  - aws-c-mqtt=0.9.6=h32970c0_2
  - aws-c-s3=0.3.17=hb5e3142_3
  - aws-c-sdkutils=0.1.12=h184a658_2
  - aws-checksums=0.1.17=h184a658_2
  - aws-crt-cpp=0.23.1=h94c364a_5
  - aws-sdk-cpp=1.11.156=h6600424_3
  - babel=2.12.1=pyhd8ed1ab_1
  - backcall=0.2.0=pyh9f0ad1d_0
  - backports=1.0=pyhd8ed1ab_3
  - backports.functools_lru_cache=1.6.5=pyhd8ed1ab_0
  - beautifulsoup4=4.12.2=pyha770c72_0
  - bleach=6.0.0=pyhd8ed1ab_0
  - bokeh=3.2.2=pyhd8ed1ab_0
  - brotli=1.1.0=hd590300_1
  - brotli-bin=1.1.0=hd590300_1
  - brotli-python=1.1.0=py39h3d6467e_1
  - bzip2=1.0.8=h7f98852_4
  - c-ares=1.19.1=hd590300_0
  - ca-certificates=2023.7.22=hbcca054_0
  - cached-property=1.5.2=hd8ed1ab_1
  - cached_property=1.5.2=pyha770c72_1
  - certifi=2023.7.22=pyhd8ed1ab_0
  - cffi=1.16.0=py39h7a31438_0
  - charset-normalizer=3.2.0=pyhd8ed1ab_0
  - click=8.1.7=unix_pyh707e725_0
  - cloudpickle=2.2.1=pyhd8ed1ab_0
  - colorama=0.4.6=pyhd8ed1ab_0
  - colorcet=3.0.1=pyhd8ed1ab_0
  - comm=0.1.4=pyhd8ed1ab_0
  - contourpy=1.1.1=py39h7633fee_1
  - cudatoolkit=9.1=h85f986d_0
  - cycler=0.11.0=pyhd8ed1ab_0
  - datashader=0.15.2=pyhd8ed1ab_0
  - datashape=0.5.4=py_1
  - debugpy=1.8.0=py39h3d6467e_1
  - decorator=5.1.1=pyhd8ed1ab_0
  - defusedxml=0.7.1=pyhd8ed1ab_0
  - entrypoints=0.4=pyhd8ed1ab_0
  - exceptiongroup=1.1.3=pyhd8ed1ab_0
  - executing=1.2.0=pyhd8ed1ab_0
  - fonttools=4.43.0=py39hd1e30aa_0
  - fqdn=1.5.1=pyhd8ed1ab_0
  - freetype=2.12.1=h267a509_2
  - fsspec=2023.9.2=pyh1a96a4e_0
  - gflags=2.2.2=he1b5a44_1004
  - glog=0.6.0=h6f12383_0
  - holoviews=1.17.1=pyhd8ed1ab_0
  - hvplot=0.8.4=pyhd8ed1ab_1
  - icu=73.2=h59595ed_0
  - idna=3.4=pyhd8ed1ab_0
  - importlib-resources=6.1.0=pyhd8ed1ab_0
  - importlib_metadata=6.8.0=hd8ed1ab_0
  - importlib_resources=6.1.0=pyhd8ed1ab_0
  - ipykernel=6.25.2=pyh2140261_0
  - ipython=8.16.1=pyh0d859eb_0
  - ipywidgets=8.1.1=pyhd8ed1ab_0
  - isoduration=20.11.0=pyhd8ed1ab_0
  - jedi=0.19.1=pyhd8ed1ab_0
  - jinja2=3.1.2=pyhd8ed1ab_1
  - json5=0.9.14=pyhd8ed1ab_0
  - jsonpointer=2.4=py39hf3d152e_3
  - jsonschema=4.19.1=pyhd8ed1ab_0
  - jsonschema-specifications=2023.7.1=pyhd8ed1ab_0
  - jsonschema-with-format-nongpl=4.19.1=pyhd8ed1ab_0
  - jupyter-lsp=2.2.0=pyhd8ed1ab_0
  - jupyter-resource-usage=1.0.1=pyhd8ed1ab_0
  - jupyter_client=8.3.1=pyhd8ed1ab_0
  - jupyter_core=5.3.2=py39hf3d152e_0
  - jupyter_events=0.7.0=pyhd8ed1ab_2
  - jupyter_server=2.7.3=pyhd8ed1ab_1
  - jupyter_server_terminals=0.4.4=pyhd8ed1ab_1
  - jupyterlab=4.0.6=pyhd8ed1ab_0
  - jupyterlab-variableinspector=3.0.9=pyhd8ed1ab_0
  - jupyterlab_execute_time=3.0.1=pyhd8ed1ab_1
  - jupyterlab_pygments=0.2.2=pyhd8ed1ab_0
  - jupyterlab_server=2.25.0=pyhd8ed1ab_0
  - jupyterlab_widgets=3.0.9=pyhd8ed1ab_0
  - keyutils=1.6.1=h166bdaf_0
  - kiwisolver=1.4.5=py39h7633fee_1
  - krb5=1.21.2=h659d440_0
  - lcms2=2.15=hb7c19ff_3
  - ld_impl_linux-64=2.40=h41732ed_0
  - lerc=4.0.0=h27087fc_0
  - libabseil=20230802.1=cxx17_h59595ed_0
  - libarrow=13.0.0=h1935d02_5_cpu
  - libblas=3.9.0=18_linux64_openblas
  - libbrotlicommon=1.1.0=hd590300_1
  - libbrotlidec=1.1.0=hd590300_1
  - libbrotlienc=1.1.0=hd590300_1
  - libcblas=3.9.0=18_linux64_openblas
  - libcrc32c=1.1.2=h9c3ff4c_0
  - libcurl=8.3.0=hca28451_0
  - libdeflate=1.19=hd590300_0
  - libedit=3.1.20191231=he28a2e2_2
  - libev=4.33=h516909a_1
  - libevent=2.1.12=hf998b51_1
  - libffi=3.4.2=h7f98852_5
  - libgcc-ng=13.2.0=h807b86a_2
  - libgfortran-ng=13.2.0=h69a702a_2
  - libgfortran5=13.2.0=ha4646dd_2
  - libgomp=13.2.0=h807b86a_2
  - libgoogle-cloud=2.12.0=h8d7e28b_2
  - libgrpc=1.57.0=ha4d0f93_1
  - libjpeg-turbo=3.0.0=hd590300_1
  - liblapack=3.9.0=18_linux64_openblas
  - libnghttp2=1.52.0=h61bc06f_0
  - libnsl=2.0.0=hd590300_1
  - libnuma=2.0.16=h0b41bf4_1
  - libopenblas=0.3.24=pthreads_h413a1c8_0
  - libpng=1.6.39=h753d276_0
  - libprotobuf=4.23.4=hf27288f_6
  - libsodium=1.0.18=h36c2ea0_1
  - libsqlite=3.43.0=h2797004_0
  - libssh2=1.11.0=h0841786_0
  - libstdcxx-ng=13.2.0=h7e041cc_2
  - libthrift=0.19.0=hb90f79a_1
  - libtiff=4.6.0=ha9c0a0a_2
  - libutf8proc=2.8.0=h166bdaf_0
  - libuuid=2.38.1=h0b41bf4_0
  - libuv=1.46.0=hd590300_0
  - libwebp-base=1.3.2=hd590300_0
  - libxcb=1.15=h0b41bf4_0
  - libzlib=1.2.13=hd590300_5
  - linkify-it-py=2.0.0=pyhd8ed1ab_0
  - locket=1.0.0=pyhd8ed1ab_0
  - lz4-c=1.9.4=hcb278e6_0
  - markdown=3.4.4=pyhd8ed1ab_0
  - markdown-it-py=3.0.0=pyhd8ed1ab_0
  - markupsafe=2.1.3=py39hd1e30aa_1
  - matplotlib-base=3.8.0=py39he9076e7_1
  - matplotlib-inline=0.1.6=pyhd8ed1ab_0
  - mdit-py-plugins=0.4.0=pyhd8ed1ab_0
  - mdurl=0.1.0=pyhd8ed1ab_0
  - mistune=3.0.1=pyhd8ed1ab_0
  - multipledispatch=0.6.0=py_0
  - munkres=1.1.4=pyh9f0ad1d_0
  - nbclient=0.8.0=pyhd8ed1ab_0
  - nbconvert-core=7.8.0=pyhd8ed1ab_0
  - nbformat=5.9.2=pyhd8ed1ab_0
  - ncurses=6.4=hcb278e6_0
  - nest-asyncio=1.5.6=pyhd8ed1ab_0
  - nodejs=20.8.0=hb753e55_0
  - notebook-shim=0.2.3=pyhd8ed1ab_0
  - openjpeg=2.5.0=h488ebb8_3
  - openssl=3.1.3=hd590300_0
  - orc=1.9.0=h52d3b3c_2
  - overrides=7.4.0=pyhd8ed1ab_0
  - pandocfilters=1.5.0=pyhd8ed1ab_0
  - panel=1.2.3=pyhd8ed1ab_0
  - param=1.13.0=pyh1a96a4e_0
  - parso=0.8.3=pyhd8ed1ab_0
  - partd=1.4.1=pyhd8ed1ab_0
  - pexpect=4.8.0=pyh1a96a4e_2
  - pickleshare=0.7.5=py_1003
  - pillow=10.0.1=py39had0adad_2
  - pip=23.2.1=pyhd8ed1ab_0
  - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1
  - platformdirs=3.11.0=pyhd8ed1ab_0
  - prometheus_client=0.17.1=pyhd8ed1ab_0
  - prompt-toolkit=3.0.39=pyha770c72_0
  - prompt_toolkit=3.0.39=hd8ed1ab_0
  - psutil=5.9.5=py39hd1e30aa_1
  - pthread-stubs=0.4=h36c2ea0_1001
  - ptyprocess=0.7.0=pyhd3deb0d_0
  - pure_eval=0.2.2=pyhd8ed1ab_0
  - pyarrow=13.0.0=py39h6925388_5_cpu
  - pycparser=2.21=pyhd8ed1ab_0
  - pyct=0.4.6=py_0
  - pyct-core=0.4.6=py_0
  - pygments=2.16.1=pyhd8ed1ab_0
  - pyparsing=3.1.1=pyhd8ed1ab_0
  - pysocks=1.7.1=pyha2e5f31_6
  - python=3.9.18=h0755675_0_cpython
  - python-dateutil=2.8.2=pyhd8ed1ab_0
  - python-fastjsonschema=2.18.1=pyhd8ed1ab_0
  - python-json-logger=2.0.7=pyhd8ed1ab_0
  - python-tzdata=2023.3=pyhd8ed1ab_0
  - python_abi=3.9=4_cp39
  - pyviz_comms=3.0.0=pyhd8ed1ab_0
  - pyyaml=6.0.1=py39hd1e30aa_1
  - pyzmq=25.1.1=py39hb257651_1
  - rdma-core=28.9=h59595ed_1
  - re2=2023.03.02=h8c504da_0
  - readline=8.2=h8228510_1
  - referencing=0.30.2=pyhd8ed1ab_0
  - requests=2.31.0=pyhd8ed1ab_0
  - rfc3339-validator=0.1.4=pyhd8ed1ab_0
  - rfc3986-validator=0.1.1=pyh9f0ad1d_0
  - rpds-py=0.10.3=py39h9fdd4d6_1
  - ruptures=1.1.8=py39h2ae25f5_0
  - s2n=1.3.51=h06160fa_0
  - send2trash=1.8.2=pyh41d4057_0
  - setuptools=68.2.2=pyhd8ed1ab_0
  - six=1.16.0=pyh6c4a22f_0
  - snappy=1.1.10=h9fff704_0
  - sniffio=1.3.0=pyhd8ed1ab_0
  - soupsieve=2.5=pyhd8ed1ab_1
  - stack_data=0.6.2=pyhd8ed1ab_0
  - terminado=0.17.1=pyh41d4057_0
  - tinycss2=1.2.1=pyhd8ed1ab_0
  - tk=8.6.13=h2797004_0
  - tomli=2.0.1=pyhd8ed1ab_0
  - toolz=0.12.0=pyhd8ed1ab_0
  - tornado=6.3.3=py39hd1e30aa_1
  - tqdm=4.66.1=pyhd8ed1ab_0
  - traitlets=5.10.1=pyhd8ed1ab_0
  - types-python-dateutil=2.8.19.14=pyhd8ed1ab_0
  - typing-extensions=4.8.0=hd8ed1ab_0
  - typing_extensions=4.8.0=pyha770c72_0
  - typing_utils=0.1.0=pyhd8ed1ab_0
  - tzdata=2023c=h71feb2d_0
  - uc-micro-py=1.0.1=pyhd8ed1ab_0
  - ucx=1.14.1=h64cca9d_5
  - unicodedata2=15.1.0=py39hd1e30aa_0
  - uri-template=1.3.0=pyhd8ed1ab_0
  - wcwidth=0.2.8=pyhd8ed1ab_0
  - webcolors=1.13=pyhd8ed1ab_0
  - webencodings=0.5.1=pyhd8ed1ab_2
  - websocket-client=1.6.3=pyhd8ed1ab_0
  - wheel=0.41.2=pyhd8ed1ab_0
  - widgetsnbextension=4.0.9=pyhd8ed1ab_0
  - xarray=2023.7.0=pyhd8ed1ab_0
  - xorg-libxau=1.0.11=hd590300_0
  - xorg-libxdmcp=1.1.3=h7f98852_0
  - xyzservices=2023.7.0=pyhd8ed1ab_0
  - xz=5.2.6=h166bdaf_0
  - yaml=0.2.5=h7f98852_2
  - zeromq=4.3.4=h9c3ff4c_1
  - zipp=3.17.0=pyhd8ed1ab_0
  - zlib=1.2.13=hd590300_5
  - zstd=1.5.5=hfc55251_0
  - pip:
      - adagio==0.2.4
      - aiofiles==23.2.1
      - aiohttp==3.8.5
      - aiohttp-cors==0.7.0
      - aiosignal==1.3.1
      - alembic==1.12.0
      - altair==5.1.1
      - ansi2html==1.8.0
      - antlr4-python3-runtime==4.11.1
      - anyio==3.7.1
      - appdirs==1.4.4
      - async-timeout==4.0.3
      - blessed==1.20.0
      - boto3==1.28.58
      - botocore==1.31.58
      - cachetools==5.3.1
      - catboost==1.2.2
      - category-encoders==2.6.2
      - cmaes==0.10.0
      - colorful==0.5.5
      - colorlog==6.7.0
      - colour==0.1.5
      - connectorx==0.3.2
      - cryptography==41.0.4
      - cython==3.0.2
      - daal==2023.2.1
      - daal4py==2023.2.1
      - dacite==1.8.1
      - dash==2.13.0
      - dash-auth==2.0.0
      - dash-bootstrap-components==1.5.0
      - dash-core-components==2.0.0
      - dash-cytoscape==0.3.0
      - dash-html-components==2.0.0
      - dash-table==5.0.0
      - dash-testing-stub==0.0.2
      - dask==2023.7.0
      - databricks-cli==0.17.8
      - deprecated==1.2.14
      - deprecation==2.1.0
      - detecta==0.0.5
      - dill==0.3.7
      - distlib==0.3.7
      - distributed==2023.7.0
      - docker==6.1.3
      - dtreeviz==2.2.2
      - evidently==0.2.8
      - explainerdashboard==0.4.3
      - fairlearn==0.7.0
      - fastapi==0.103.2
      - ffmpy==0.3.1
      - filelock==3.12.4
      - flask==2.2.3
      - flask-simplelogin==0.1.2
      - flask-wtf==1.2.1
      - frozenlist==1.4.0
      - fs==2.4.16
      - fugue==0.8.6
      - fugue-sql-antlr==0.1.7
      - future==0.18.3
      - gevent==23.9.1
      - gitdb==4.0.10
      - gitpython==3.1.37
      - google-api-core==2.12.0
      - google-auth==2.23.2
      - googleapis-common-protos==1.60.0
      - gpustat==1.1.1
      - gradio==3.46.0
      - gradio-client==0.5.3
      - greenlet==3.0.0
      - grpcio==1.59.0
      - gunicorn==20.1.0
      - h11==0.14.0
      - htmlmin==0.1.12
      - httpcore==0.18.0
      - httpx==0.25.0
      - huggingface-hub==0.17.3
      - hyperopt==0.2.7
      - imagehash==4.3.1
      - imageio==2.31.5
      - imbalanced-learn==0.11.0
      - importlib-metadata==5.2.0
      - iniconfig==2.0.0
      - interpret==0.4.4
      - interpret-core==0.4.4
      - itsdangerous==2.1.2
      - jmespath==1.0.1
      - joblib==1.3.2
      - jupyter-bokeh==3.0.7
      - jupyter-dash==0.4.2
      - kaleido==0.2.1
      - kmodes==0.12.2
      - lazy-loader==0.3
      - lightgbm==4.1.0
      - lime==0.2.0.1
      - llvmlite==0.41.0
      - lxml==4.9.3
      - m2cgen==0.10.0
      - mako==1.2.4
      - mlflow==1.30.1
      - mlxtend==0.23.0
      - moto==4.2.5
      - msgpack==1.0.7
      - multidict==6.0.4
      - multimethod==1.10
      - multiprocess==0.70.15
      - networkx==3.1
      - nltk==3.8.1
      - numba==0.58.0
      - numpy==1.23.5
      - nvidia-ml-py==12.535.108
      - oauthlib==3.2.2
      - opencensus==0.11.3
      - opencensus-context==0.1.3
      - optuna==3.3.0
      - orjson==3.9.7
      - outcome==1.2.0
      - oyaml==1.0
      - packaging==21.3
      - pandas==1.5.3
      - patsy==0.5.3
      - percy==2.0.2
      - phik==0.12.3
      - plotly==5.17.0
      - plotly-resampler==0.9.1
      - pluggy==1.3.0
      - pmdarima==2.0.3
      - polars==0.19.6
      - prometheus-flask-exporter==0.22.4
      - protobuf==4.24.3
      - py-spy==0.3.14
      - py4j==0.10.9.7
      - pyaml==23.9.7
      - pyasn1==0.5.0
      - pyasn1-modules==0.3.0
      - pycaret==3.1.0
      - pydantic==1.10.13
      - pydub==0.25.1
      - pyjwt==2.8.0
      - pynndescent==0.5.10
      - pyod==1.1.0
      - pyopenssl==23.2.0
      - pytest==7.4.2
      - python-graphviz==0.20.1
      - python-multipart==0.0.6
      - pytz==2022.7.1
      - pywavelets==1.4.1
      - qpd==0.4.4
      - quantlab==0.0.1
      - querystring-parser==1.2.4
      - ray==2.7.0
      - regex==2023.8.8
      - responses==0.23.3
      - retrying==1.3.4
      - rsa==4.9
      - s3transfer==0.7.0
      - salib==1.4.7
      - schemdraw==0.15
      - scikit-base==0.5.1
      - scikit-image==0.21.0
      - scikit-learn==1.2.2
      - scikit-learn-intelex==2023.2.1
      - scikit-optimize==0.9.0
      - scikit-plot==0.3.7
      - scipy==1.10.1
      - seaborn==0.12.2
      - selenium==4.2.0
      - semantic-version==2.10.0
      - shap==0.42.1
      - skope-rules==1.0.1
      - sktime==0.21.1
      - slicer==0.0.7
      - smart-open==6.4.0
      - smmap==5.0.1
      - sortedcontainers==2.4.0
      - sqlalchemy==1.4.49
      - sqlglot==18.10.1
      - sqlparse==0.4.4
      - starlette==0.27.0
      - statsforecast==1.5.0
      - statsmodels==0.14.0
      - tabulate==0.9.0
      - tangled-up-in-unicode==0.2.0
      - tbats==1.1.3
      - tbb==2021.10.0
      - tblib==2.0.0
      - tenacity==8.2.3
      - tensorboardx==2.6.2.2
      - threadpoolctl==3.2.0
      - tifffile==2023.9.26
      - trace-updater==0.0.9.1
      - treeinterpreter==0.2.3
      - triad==0.9.1
      - trio==0.22.2
      - trio-websocket==0.11.1
      - tsdownsample==0.1.2
      - tune-sklearn==0.4.6
      - typeguard==2.13.3
      - types-pyyaml==6.0.12.12
      - umap-learn==0.5.4
      - urllib3==1.26.17
      - urllib3-secure-extra==0.1.0
      - uvicorn==0.23.2
      - virtualenv==20.21.0
      - visions==0.7.5
      - waitress==2.1.2
      - websockets==11.0.3
      - werkzeug==2.2.3
      - wordcloud==1.9.2
      - wrapt==1.15.0
      - wsproto==1.2.0
      - wtforms==3.0.1
      - wurlitzer==3.0.3
      - xgboost==2.0.0
      - xmltodict==0.13.0
      - xxhash==3.3.0
      - yarl==1.9.2
      - ydata-profiling==4.5.1
      - yellowbrick==1.5
      - zict==3.0.0
      - zope-event==5.0
      - zope-interface==6.0

console output when plots are not visible:

Unsatisfied version 2.3.0 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^1.37.2) remoteEntry.56bf4b5dc66a26bcd462.js:1:5956
Unsatisfied version 2.1.2 of shared singleton module @lumino/signaling (required ^1.4.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.3.0 of shared singleton module @lumino/widgets (required ^1.16.1) remoteEntry.311df298e19cc62c55a3.js:1:5454
No satisfying version (^3.0.7) of shared module @jupyterlab/outputarea found in shared scope default.
Available versions: 4.0.6 from @jupyterlab/application-top remoteEntry.311df298e19cc62c55a3.js:1:5842
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/ui-components (required ^3.0.5) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/messaging (required ^1.4.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.1.3 of shared singleton module @lumino/dragdrop (required ^1.7.1) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/domutils (required ^1.2.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/algorithm (required ^1.3.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/console (required ^3.0.7) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/notebook (required ^3.0.8) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.1.2 of shared singleton module @lumino/coreutils (required ^1.5.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/application (required ^3.0.8) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.1.6 of shared singleton module @jupyterlab/apputils (required ^3.0.6) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.3.0 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^1.37.2) remoteEntry.ffe5ab06fb85b1c22aea.js:1:5576
Unsatisfied version 2.1.2 from @jupyterlab/application-top of shared singleton module @lumino/disposable (required ^1.10.0) remoteEntry.ffe5ab06fb85b1c22aea.js:1:5576
Language pack 'en_US' not installed! manager.js:49:20
Starting application in workspace: "default" index.js:397:16
JupyterLab extension @lckr/jupyterlab_variableinspector is activated! 383.79cef97ee2a6919173a6.js:1:21900
JupyterLab extension jupyterlab-execute-time is activated! index.js:49
TypeError: s[i.id] is undefined
    activate 383.79cef97ee2a6919173a6.js:1
    m index.es6.js:555
    l index.es6.js:513
    emit index.es6.js:112
    _onCurrentChanged shell.js:1221
    m index.es6.js:555
    l index.es6.js:513
    emit index.es6.js:112
    _setWidgets index.es6.js:12357
    _evtFocus index.es6.js:12375
    handleEvent index.es6.js:12338
    onActivateRequest mainareawidget.js:166
    processMessage index.es6.js:1254
    C index.es6.js:412
    r index.es6.js:175
    _ index.es6.js:463
    n index.es6.js:140
index.es6.js:308:16
Uncaught (in promise) TypeError: e is undefined
    Ie toc.js:486
    s toc.js:394
    s toc.js:392
    c toc.js:453
    m index.es6.js:555
    l index.es6.js:513
    emit index.es6.js:112
    _onCellInViewportChanged widget.js:647
    m index.es6.js:555
    l index.es6.js:513
    emit index.es6.js:112
    set inViewport widget.js:164
    attachWidget windowing.js:187
    insertWidget index.es6.js:2516
    _updateForDeferMode widget.js:753
    _runOnIdleTime widget.js:722
    _runOnIdleTime widget.js:738
toc.js:486:8
Starting WebSocket: ws://localhost:11000/api/kernels/57e6ca0e-2f6f-4de9-8375-b1b2e3036468 3 default.js:70:20
Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early

console output when the plots are visible:

Unsatisfied version 2.3.0 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^1.37.2) remoteEntry.56bf4b5dc66a26bcd462.js:1:5956
Unsatisfied version 2.1.2 of shared singleton module @lumino/signaling (required ^1.4.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.3.0 of shared singleton module @lumino/widgets (required ^1.16.1) remoteEntry.311df298e19cc62c55a3.js:1:5454
No satisfying version (^3.0.7) of shared module @jupyterlab/outputarea found in shared scope default.
Available versions: 4.0.6 from @jupyterlab/application-top remoteEntry.311df298e19cc62c55a3.js:1:5842
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/ui-components (required ^3.0.5) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/messaging (required ^1.4.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.1.3 of shared singleton module @lumino/dragdrop (required ^1.7.1) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/domutils (required ^1.2.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.0.1 of shared singleton module @lumino/algorithm (required ^1.3.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/console (required ^3.0.7) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/notebook (required ^3.0.8) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.1.2 of shared singleton module @lumino/coreutils (required ^1.5.3) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.0.6 of shared singleton module @jupyterlab/application (required ^3.0.8) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 4.1.6 of shared singleton module @jupyterlab/apputils (required ^3.0.6) remoteEntry.311df298e19cc62c55a3.js:1:5454
Unsatisfied version 2.3.0 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^1.37.2) remoteEntry.ffe5ab06fb85b1c22aea.js:1:5576
Unsatisfied version 2.1.2 from @jupyterlab/application-top of shared singleton module @lumino/disposable (required ^1.10.0) remoteEntry.ffe5ab06fb85b1c22aea.js:1:5576
Language pack 'en_US' not installed! jlab_core.be6103fe6f6cc2c18378.js:1:1446012
Starting application in workspace: "default" jlab_core.be6103fe6f6cc2c18378.js:1:7693
JupyterLab extension @lckr/jupyterlab_variableinspector is activated! 383.79cef97ee2a6919173a6.js:1:21900
JupyterLab extension jupyterlab-execute-time is activated! index.js:49
Starting WebSocket: ws://localhost:11000/api/kernels/73ad34a9-5bc4-4de2-b740-a70179c4fa78 3 jlab_core.be6103fe6f6cc2c18378.js:1:1225822
Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early 336.ebc7a55ea1768712771f.js:1:5783

The Holoviz folks (i.e. the people who develop hvplot—it is not part of the Bokeh project) have their own specialized jupyter handling AFAIK, and perhaps that is important. I don’t know for sure, but since the MRE is hvplot code and not pure Bokeh code I have to suggest that you start the discusson on their discourse first to see if any of their specializations are relevant.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.