holoviz / hvplot

A high-level plotting API for pandas, dask, xarray, and networkx built on HoloViews
https://hvplot.holoviz.org
BSD 3-Clause "New" or "Revised" License
1.01k stars 99 forks source link

hvPlot plots are not visible in Jupyterlab Desktop #1345

Open gwerbin opened 1 month ago

gwerbin commented 1 month ago

ALL software version info

JupyterLab Desktop v4.1.8-1, running the bundled Python environment

Conda env for the Jupyter kernel:

```none Name Version Build Channel ─────────────────────────────────────────────────────────────────────────────────────── _py-xgboost-mutex 2.0 cpu_0 absl-py 1.4.0 py311hca03da5_0 affine 2.4.0 pyhd8ed1ab_0 conda-forge aiobotocore 2.13.0 pyhd8ed1ab_0 conda-forge aiohttp 3.9.3 py311h05b510d_1 conda-forge aiohttp-retry 2.8.3 pyhd8ed1ab_0 conda-forge aioitertools 0.11.0 pyhd8ed1ab_0 conda-forge aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge amqp 5.2.0 pyhd8ed1ab_1 conda-forge annotated-types 0.6.0 pyhd8ed1ab_0 conda-forge antlr-python-runtime 4.9.3 pyhd8ed1ab_1 conda-forge anyio 3.5.0 py311hca03da5_0 appdirs 1.4.4 pyh9f0ad1d_0 conda-forge appnope 0.1.4 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py311heffc1b2_4 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asn1crypto 1.5.1 pyhd8ed1ab_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge asyncssh 2.14.1 pyhd8ed1ab_0 conda-forge atk-1.0 2.38.0 hcb7b3dd_1 conda-forge atpublic 3.0.1 pyhd8ed1ab_0 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge autopep8 2.1.0 pyhd8ed1ab_0 conda-forge aws-c-auth 0.7.22 hec39e38_2 conda-forge aws-c-cal 0.6.14 h5db4892_1 conda-forge aws-c-common 0.9.19 h99b78c6_0 conda-forge aws-c-compression 0.2.18 h5db4892_6 conda-forge aws-c-event-stream 0.4.2 h5eab607_12 conda-forge aws-c-http 0.8.1 had10953_17 conda-forge aws-c-io 0.14.8 hb5a7b21_5 conda-forge aws-c-mqtt 0.10.4 h78534b8_4 conda-forge aws-c-s3 0.5.9 h1755d02_3 conda-forge aws-c-sdkutils 0.1.16 h5db4892_2 conda-forge aws-checksums 0.1.18 h5db4892_6 conda-forge aws-crt-cpp 0.26.9 h03bff2b_0 conda-forge aws-sdk-cpp 1.11.329 hb37a6d0_3 conda-forge azure-core-cpp 1.11.1 he231e37_1 conda-forge azure-identity-cpp 1.6.0 hd1853d3_1 conda-forge azure-storage-blobs-cpp 12.10.0 h2ffa867_1 conda-forge azure-storage-common-cpp 12.5.0 h09a5875_4 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge backports.zoneinfo 0.2.1 py311h267d04e_8 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge billiard 4.2.0 py311h05b510d_0 conda-forge black 24.4.2 py311h267d04e_0 conda-forge blas 1.0 openblas bleach 6.1.0 pyhd8ed1ab_0 conda-forge blosc 1.21.5 h9c252e8_1 conda-forge bokeh 3.4.1 pyhd8ed1ab_0 conda-forge boto3 1.34.106 pyhd8ed1ab_0 conda-forge boto3-stubs 1.34.112 pyhd8ed1ab_0 conda-forge botocore 1.34.106 pyge310_1234567_0 conda-forge bottleneck 1.3.8 py311h9ea6feb_0 conda-forge branca 0.7.1 pyhd8ed1ab_0 conda-forge brotli 1.1.0 hb547adb_1 conda-forge brotli-bin 1.1.0 hb547adb_1 conda-forge brotli-python 1.1.0 py311ha891d26_1 conda-forge bzip2 1.0.8 h93a5062_5 conda-forge c-ares 1.28.1 h93a5062_0 conda-forge ca-certificates 2024.2.2 hf0a4a13_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.3.3 py311hca03da5_0 cairo 1.18.0 hd1e100b_0 conda-forge cartopy 0.23.0 py311h4b4568b_1 conda-forge catboost 1.2.3 py311hca03da5_0 celery 5.3.6 pyhd8ed1ab_0 conda-forge certifi 2024.2.2 pyhd8ed1ab_0 conda-forge cffi 1.16.0 py311h4a08483_0 conda-forge cfitsio 4.4.0 h808cd33_1 conda-forge cftime 1.6.3 py311h9ea6feb_0 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge click 8.1.7 unix_pyh707e725_0 conda-forge click-didyoumean 0.3.1 pyhd8ed1ab_0 conda-forge click-plugins 1.1.1 py_0 conda-forge click-repl 0.3.0 pyhd8ed1ab_0 conda-forge cligj 0.7.2 pyhd8ed1ab_1 conda-forge cloudpickle 2.2.1 py311hca03da5_0 colorama 0.4.6 pyhd8ed1ab_0 conda-forge colorcet 3.1.0 py311hca03da5_0 comm 0.2.2 pyhd8ed1ab_0 conda-forge configobj 5.0.8 pyhd8ed1ab_0 conda-forge contourpy 1.2.1 py311hcc98501_0 conda-forge cryptography 42.0.7 py311hcaeb4ce_0 conda-forge cycler 0.12.1 pyhd8ed1ab_0 conda-forge cytoolz 0.12.3 py311h05b510d_0 conda-forge dask 2024.5.1 pyhd8ed1ab_0 conda-forge dask-core 2024.5.1 pyhd8ed1ab_0 conda-forge dask-expr 1.1.1 pyhd8ed1ab_1 conda-forge datashader 0.16.1 py_0 pyviz debugpy 1.8.1 py311h92babd0_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge dictdiffer 0.9.0 pyhd8ed1ab_0 conda-forge diskcache 5.6.3 pyhd8ed1ab_0 conda-forge distributed 2024.5.1 pyhd8ed1ab_0 conda-forge distro 1.9.0 pyhd8ed1ab_0 conda-forge dpath 2.1.6 pyha770c72_0 conda-forge dulwich 0.22.1 py311h5d190b6_0 conda-forge dvc 3.43.1 pyhd8ed1ab_0 conda-forge dvc-data 3.9.0 pyhd8ed1ab_0 conda-forge dvc-http 2.32.0 pyhd8ed1ab_0 conda-forge dvc-objects 3.0.6 pyhd8ed1ab_1 conda-forge dvc-render 1.0.2 pyhd8ed1ab_0 conda-forge dvc-s3 3.2.0 pyhd8ed1ab_0 conda-forge dvc-studio-client 0.20.0 pyhd8ed1ab_0 conda-forge dvc-task 0.4.0 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge expat 2.6.2 hebf3989_0 conda-forge filelock 3.13.4 pyhd8ed1ab_0 conda-forge fiona 1.9.6 py311hec679ae_2 conda-forge flatten-dict 0.4.2 pyhd8ed1ab_1 conda-forge flufl.lock 7.1 pyhd8ed1ab_0 conda-forge fmt 10.2.1 h2ffa867_0 conda-forge folium 0.16.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 h77eed37_1 conda-forge fontconfig 2.14.2 h82840c6_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.51.0 py311h05b510d_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 hadb7bae_2 conda-forge freexl 2.0.0 hfbad9fb_0 conda-forge fribidi 1.0.10 h27ca646_0 conda-forge frozenlist 1.4.1 py311h05b510d_0 conda-forge fsspec 2023.12.2 pyhca7485f_0 conda-forge funcy 2.0 pyhd8ed1ab_0 conda-forge future 1.0.0 pyhd8ed1ab_0 conda-forge gdal 3.8.5 py311h7f90d8e_1 conda-forge gdk-pixbuf 2.42.10 hcea6d13_6 conda-forge geographiclib 2.0 pyhd8ed1ab_0 conda-forge geopandas 0.14.4 pyhd8ed1ab_0 conda-forge geopandas-base 0.14.4 pyha770c72_0 conda-forge geopy 2.4.1 pyhd8ed1ab_1 conda-forge geos 3.12.1 h965bd2d_0 conda-forge geotiff 1.7.1 h6e650f3_16 conda-forge geoviews 1.12.0 py_0 pyviz geoviews-core 1.12.0 py_0 pyviz gettext 0.22.5 h8fbad5d_2 conda-forge gettext-tools 0.22.5 h8fbad5d_2 conda-forge gflags 2.2.2 hc88da5d_1004 conda-forge giflib 5.2.2 h93a5062_0 conda-forge gitdb 4.0.11 pyhd8ed1ab_0 conda-forge gitpython 3.1.43 pyhd8ed1ab_0 conda-forge glog 0.7.0 hc6770e3_0 conda-forge grandalf 0.7 pyhd8ed1ab_0 conda-forge graphite2 1.3.13 hebf3989_1003 conda-forge graphviz 9.0.0 h3face73_1 conda-forge gtk2 2.24.33 h7895bb2_4 conda-forge gto 1.6.2 pyhd8ed1ab_0 conda-forge gts 0.7.6 he42f4ea_4 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge h3-py 3.7.7 py311h92babd0_0 conda-forge harfbuzz 8.3.0 h8f0ba13_0 conda-forge hdf4 4.2.15 h2ee6834_7 conda-forge hdf5 1.14.3 nompi_h5bb55e9_100 conda-forge holoviews 1.18.3 py_0 pyviz hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 1.0.5 pyhd8ed1ab_0 conda-forge httpx 0.27.0 pyhd8ed1ab_0 conda-forge hvplot 0.10.0 py_0 pyviz hydra-core 1.3.2 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 73.2 hc8870d7_0 conda-forge idna 3.7 pyhd8ed1ab_0 conda-forge importlib-metadata 7.1.0 pyha770c72_0 conda-forge importlib_metadata 7.1.0 hd8ed1ab_0 conda-forge importlib_resources 6.4.0 pyhd8ed1ab_0 conda-forge ipykernel 6.29.3 pyh3cd1d5f_0 conda-forge ipympl 0.9.4 pyhd8ed1ab_0 conda-forge ipython 8.24.0 pyh707e725_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.1.2 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge iterative-telemetry 0.0.8 pyhd8ed1ab_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.3 pyhd8ed1ab_0 conda-forge jmespath 1.0.1 pyhd8ed1ab_0 conda-forge joblib 1.4.0 pyhd8ed1ab_0 conda-forge json-c 0.17 h40ed0f5_0 conda-forge json5 0.9.25 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py311h267d04e_3 conda-forge jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.21.1 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.5 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.1 pyhd8ed1ab_0 conda-forge jupyter_core 5.7.2 py311h267d04e_0 conda-forge jupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge jupyter_server 2.14.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge jupyterlab 4.1.6 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge jupyterlab_server 2.26.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.10 pyhd8ed1ab_0 conda-forge kealib 1.5.3 h210d843_0 conda-forge kiwisolver 1.4.5 py311he4fd1f5_1 conda-forge kombu 5.3.7 py311h267d04e_0 conda-forge krb5 1.21.2 h92f50d5_0 conda-forge lcms2 2.16 ha0e7c42_0 conda-forge lerc 4.0.0 h9a09cb3_0 conda-forge libabseil 20240116.2 cxx17_hebf3989_0 conda-forge libaec 1.1.3 hebf3989_0 conda-forge libarchive 3.7.2 hcacb583_1 conda-forge libarrow 15.0.2 h28dd788_11_cpu conda-forge libarrow-acero 15.0.2 h00cdb27_11_cpu conda-forge libarrow-dataset 15.0.2 h00cdb27_11_cpu conda-forge libarrow-flight 15.0.2 h6348776_11_cpu conda-forge libarrow-flight-sql 15.0.2 h6956890_11_cpu conda-forge libarrow-gandiva 15.0.2 h31ed65c_11_cpu conda-forge libarrow-substrait 15.0.2 h6df5cdc_11_cpu conda-forge libasprintf 0.22.5 h8fbad5d_2 conda-forge libasprintf-devel 0.22.5 h8fbad5d_2 conda-forge libblas 3.9.0 22_osxarm64_openblas conda-forge libboost-headers 1.84.0 hce30654_2 conda-forge libbrotlicommon 1.1.0 hb547adb_1 conda-forge libbrotlidec 1.1.0 hb547adb_1 conda-forge libbrotlienc 1.1.0 hb547adb_1 conda-forge libcblas 3.9.0 22_osxarm64_openblas conda-forge libcrc32c 1.1.2 hbdafb3b_0 conda-forge libcurl 8.8.0 h7b6f9a7_0 conda-forge libcxx 16.0.6 h4653b0c_0 conda-forge libdeflate 1.20 h93a5062_0 conda-forge libedit 3.1.20191231 hc8eb9b7_2 conda-forge libev 4.33 h93a5062_2 conda-forge libevent 2.1.12 h2757513_1 conda-forge libexpat 2.6.2 hebf3989_0 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libgd 2.3.3 hfdf3952_9 conda-forge libgdal 3.8.5 hfb644ca_1 conda-forge libgettextpo 0.22.5 h8fbad5d_2 conda-forge libgettextpo-devel 0.22.5 h8fbad5d_2 conda-forge libgfortran 5.0.0 13_2_0_hd922786_3 conda-forge libgfortran5 13.2.0 hf226fd6_3 conda-forge libgit2 1.7.2 hfa83a07_2 conda-forge libglib 2.80.0 hfc324ee_5 conda-forge libgoogle-cloud 2.24.0 hfe08963_0 conda-forge libgoogle-cloud-storage 2.24.0 h3fa5b87_0 conda-forge libgrpc 1.62.2 h9c18a4f_0 conda-forge libiconv 1.17 h0d3ecfb_2 conda-forge libintl 0.22.5 h8fbad5d_2 conda-forge libintl-devel 0.22.5 h8fbad5d_2 conda-forge libjpeg-turbo 3.0.0 hb547adb_1 conda-forge libkml 1.3.0 h1eb4d9f_1018 conda-forge liblapack 3.9.0 22_osxarm64_openblas conda-forge libllvm14 14.0.6 hd1a9a77_4 conda-forge libllvm16 16.0.6 haab561b_3 conda-forge libnetcdf 4.9.2 nompi_h291a7c2_113 conda-forge libnghttp2 1.58.0 ha4dd798_1 conda-forge libopenblas 0.3.27 openmp_h6c19121_0 conda-forge libparquet 15.0.2 hcf52c46_11_cpu conda-forge libpng 1.6.43 h091b4b1_0 conda-forge libpq 16.2 h0f8b458_1 conda-forge libprotobuf 4.25.3 hbfab5d5_0 conda-forge libre2-11 2023.09.01 h7b2c953_2 conda-forge librsvg 2.58.0 hb3d354b_1 conda-forge librttopo 1.1.0 hc8f776e_15 conda-forge libsodium 1.0.18 h27ca646_1 conda-forge libspatialindex 1.9.3 hbdafb3b_4 conda-forge libspatialite 5.1.0 h77c30ab_5 conda-forge libsqlite 3.45.3 h091b4b1_0 conda-forge libssh2 1.11.0 h7a5bd25_0 conda-forge libthrift 0.19.0 h026a170_1 conda-forge libtiff 4.6.0 h07db509_3 conda-forge libutf8proc 2.8.0 h1a8c8d9_0 conda-forge libwebp 1.4.0 h54798ee_0 conda-forge libwebp-base 1.4.0 h93a5062_0 conda-forge libxcb 1.15 hf346824_0 conda-forge libxgboost 1.7.6 h313beb8_0 libxml2 2.12.6 h0d0cfa8_2 conda-forge libzip 1.10.1 ha0bc3c6_3 conda-forge libzlib 1.2.13 h53f4e23_5 conda-forge linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge llvm-openmp 18.1.3 hcd81f8e_0 conda-forge llvmlite 0.42.0 py311hf5d242d_1 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge lz4 4.3.3 py311hd44b8e9_0 conda-forge lz4-c 1.9.4 hb7217d7_0 conda-forge lzo 2.10 h642e427_1000 conda-forge mapclassify 2.6.1 pyhd8ed1ab_0 conda-forge markdown 3.6 pyhd8ed1ab_0 conda-forge markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h05b510d_0 conda-forge matplotlib 3.8.4 py311ha1ab1f8_2 conda-forge matplotlib-base 3.8.4 py311hb58f1d1_0 conda-forge matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.4.0 pyhd8ed1ab_0 conda-forge mdurl 0.1.2 pyhd8ed1ab_0 conda-forge minizip 4.0.5 hc35e051_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge movingpandas 0.18.1 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.7 py311hd03642b_0 conda-forge multidict 6.0.5 py311he2be06e_0 conda-forge multipledispatch 0.6.0 py_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mypy 1.10.0 py311hd23d018_0 conda-forge mypy_extensions 1.0.0 pyha770c72_0 conda-forge nanotime 0.5.2 py_0 conda-forge nbclient 0.10.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.3 pyhd8ed1ab_1 conda-forge nbformat 5.10.4 pyhd8ed1ab_0 conda-forge nbqa 1.8.5 pyhd8ed1ab_0 conda-forge ncurses 6.4.20240210 h078ce10_0 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge netcdf4 1.6.5 nompi_py311ha6bebe6_100 conda-forge networkx 3.3 pyhd8ed1ab_1 conda-forge notebook 7.1.3 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge nspr 4.35 hb7217d7_0 conda-forge nss 3.98 h5ce2875_0 conda-forge numba 0.59.1 py311h00351ea_0 conda-forge numexpr 2.9.0 py311hfbe21a1_0 conda-forge numpy 1.26.4 py311he598dae_0 numpy-base 1.26.4 py311hfbfe69c_0 omegaconf 2.3.0 pyhd8ed1ab_0 conda-forge openjpeg 2.5.2 h9f1df11_0 conda-forge openpyxl 3.1.2 py311heffc1b2_0 conda-forge openssl 3.3.0 h0d3ecfb_0 conda-forge orc 2.0.1 h47ade37_0 conda-forge orjson 3.10.1 py311h94f323b_0 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge packaging 23.2 py311hca03da5_0 pandas 2.2.2 py311h4b4568b_1 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 1.4.1 py_0 pyviz pango 1.52.2 hb067d4f_0 conda-forge param 2.1.0 py_0 pyviz parso 0.8.4 pyhd8ed1ab_0 conda-forge partd 1.4.1 pyhd8ed1ab_0 conda-forge pathlib2 2.3.7.post1 py311h267d04e_3 conda-forge pathspec 0.12.1 pyhd8ed1ab_0 conda-forge patsy 0.5.6 pyhd8ed1ab_0 conda-forge pcre2 10.43 h26f9a81_0 conda-forge pendulum 3.0.0 py311hd3a55dc_0 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.3.0 py311h0b5d0a1_0 conda-forge pip 24.0 pyhd8ed1ab_0 conda-forge pixman 0.43.4 hebf3989_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.11.0 pyhd8ed1ab_0 conda-forge plotly 5.19.0 py311hb6e6a13_0 polars 0.20.29 py311h55c367e_0 conda-forge pooch 1.8.1 pyhd8ed1ab_0 conda-forge poppler 24.03.0 h896e6cb_0 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge postgresql 16.2 hf829917_1 conda-forge proj 9.4.0 h52fb9d0_1 conda-forge prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.42 pyha770c72_0 conda-forge prompt_toolkit 3.0.42 hd8ed1ab_0 conda-forge psutil 5.9.8 py311h05b510d_0 conda-forge pthread-stubs 0.4 h27ca646_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge py-xgboost 1.7.6 py311hca03da5_0 pyarrow 15.0.2 py311h7762100_11_cpu conda-forge pyarrow-hotfix 0.6 pyhd8ed1ab_0 conda-forge pycodestyle 2.11.1 pyhd8ed1ab_0 conda-forge pycparser 2.22 pyhd8ed1ab_0 conda-forge pyct 0.5.0 py_0 pyviz pyct-core 0.5.0 py_0 pyviz pydantic 2.7.0 pyhd8ed1ab_0 conda-forge pydantic-core 2.18.1 py311h94f323b_0 conda-forge pydeck 0.8.0 pyhd8ed1ab_0 conda-forge pydot 2.0.0 py311h267d04e_0 conda-forge pygit2 1.14.1 py311h05b510d_1 conda-forge pygments 2.17.2 pyhd8ed1ab_0 conda-forge pygtrie 2.5.0 pyhd8ed1ab_0 conda-forge pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pyobjc-core 10.2 py311h665608e_0 conda-forge pyobjc-framework-cocoa 10.2 py311h665608e_0 conda-forge pyopenssl 24.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.1.2 pyhd8ed1ab_0 conda-forge pyproj 3.6.1 py311ha70c146_6 conda-forge pyshp 2.3.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.11.9 h932a869_0_cpython conda-forge python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge python-dotenv 1.0.1 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.19.1 pyhd8ed1ab_0 conda-forge python-graphviz 0.16 pyhd3eb1b0_1 python-gssapi 1.8.3 py311hadfd579_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge python_abi 3.11 4_cp311 conda-forge pytimeparse 1.1.8 py311hca03da5_0 pytz 2024.1 pyhd8ed1ab_0 conda-forge pyviz_comms 3.0.0 py_0 pyviz pywin32-on-windows 0.1.0 pyh1179c8e_3 conda-forge pyyaml 6.0.1 py311heffc1b2_1 conda-forge pyzmq 26.0.0 py311he9c0408_0 conda-forge rasterio 1.3.10 py311hfadda8e_1 conda-forge re2 2023.09.01 h4cba328_2 conda-forge readline 8.2 h92ec313_1 conda-forge referencing 0.34.0 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge retrying 1.3.3 py_2 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rich 13.7.1 pyhd8ed1ab_0 conda-forge rpds-py 0.18.0 py311ha958965_0 conda-forge rtree 1.2.0 py311hd698ff7_0 conda-forge ruamel.yaml 0.18.6 py311h05b510d_0 conda-forge ruamel.yaml.clib 0.2.8 py311h05b510d_0 conda-forge ruff 0.4.4 py311hd374d79_0 conda-forge s3fs 2023.12.2 pyhd8ed1ab_0 conda-forge s3transfer 0.10.1 pyhd8ed1ab_0 conda-forge scikit-learn 1.3.2 py311ha25ca4d_2 conda-forge scipy 1.13.1 py311hceeca8c_0 conda-forge scmrepo 2.1.1 pyhd8ed1ab_0 conda-forge seaborn 0.13.2 hd8ed1ab_2 conda-forge seaborn-base 0.13.2 pyhd8ed1ab_2 conda-forge semver 3.0.2 pyhd8ed1ab_0 conda-forge send2trash 1.8.3 pyh31c8845_0 conda-forge setuptools 69.5.1 pyhd8ed1ab_0 conda-forge shapely 2.0.4 py311h1273ac6_1 conda-forge shellingham 1.5.4 pyhd8ed1ab_0 conda-forge shortuuid 1.0.13 pyhd8ed1ab_0 conda-forge shtab 1.7.1 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge smmap 5.0.0 pyhd8ed1ab_0 conda-forge snappy 1.2.0 hd04f947_1 conda-forge sniffio 1.3.1 pyhd8ed1ab_0 conda-forge snowflake-connector-python 3.10.1 py311h4b4568b_0 conda-forge snowflake-ml-python 1.5.0 py311h80987f9_0 snowflake-snowpark-python 1.15.0 py311hca03da5_0 snuggs 1.4.7 py_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge spatialpandas 0.4.10 py311hca03da5_0 spdlog 1.13.0 h5fcca99_0 conda-forge sqlite 3.45.3 hf2abe2d_0 conda-forge sqlparse 0.4.4 py311hca03da5_0 sqltrie 0.11.0 pyhd8ed1ab_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.14.2 py311h5d790af_0 conda-forge tabulate 0.9.0 pyhd8ed1ab_1 conda-forge tblib 3.0.0 pyhd8ed1ab_0 conda-forge tenacity 8.2.2 py311hca03da5_0 terminado 0.18.1 pyh31c8845_0 conda-forge threadpoolctl 3.4.0 pyhc1e730c_0 conda-forge tiledb 2.22.0 h6a2131e_5 conda-forge time-machine 2.14.1 py311h05b510d_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.13 h5083fa2_1 conda-forge tokenize-rt 5.2.0 pyhd8ed1ab_1 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlkit 0.12.4 pyha770c72_0 conda-forge toolz 0.12.1 pyhd8ed1ab_0 conda-forge tornado 6.4 py311h05b510d_0 conda-forge tqdm 4.66.4 pyhd8ed1ab_0 conda-forge traitlets 5.14.2 pyhd8ed1ab_0 conda-forge typer 0.12.3 pyhd8ed1ab_0 conda-forge typer-slim 0.12.3 pyhd8ed1ab_0 conda-forge typer-slim-standard 0.12.3 hd8ed1ab_0 conda-forge types-python-dateutil 2.9.0.20240316 pyhd8ed1ab_0 conda-forge typing-extensions 4.11.0 hd8ed1ab_0 conda-forge typing_extensions 4.11.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzcode 2024a h93a5062_0 conda-forge tzdata 2024a h0c530f3_0 conda-forge uc-micro-py 1.0.3 pyhd8ed1ab_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge uriparser 0.9.7 hb7217d7_1 conda-forge urllib3 2.0.7 pyhd8ed1ab_0 conda-forge vine 5.1.0 pyhd8ed1ab_0 conda-forge voluptuous 0.14.2 pyhd8ed1ab_0 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.7.0 pyhd8ed1ab_0 conda-forge wheel 0.43.0 pyhd8ed1ab_1 conda-forge widgetsnbextension 4.0.10 pyhd8ed1ab_0 conda-forge wrapt 1.16.0 py311h05b510d_0 conda-forge xarray 2024.5.0 pyhd8ed1ab_0 conda-forge xerces-c 3.2.5 hf393695_0 conda-forge xgboost 1.7.6 py311hca03da5_0 xorg-libxau 1.0.11 hb547adb_0 conda-forge xorg-libxdmcp 1.1.3 h27ca646_0 conda-forge xyzservices 2024.4.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge yaml 0.2.5 h3422bc3_2 conda-forge yarl 1.9.4 py311h05b510d_0 conda-forge zc.lockfile 3.0.post1 pyhd8ed1ab_0 conda-forge zeromq 4.3.5 hebf3989_1 conda-forge zict 3.0.0 pyhd8ed1ab_0 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge zlib 1.2.13 h53f4e23_5 conda-forge zstd 1.5.6 hb46c0d2_0 conda-forge ```

Description of expected behavior and the observed behavior

Expected: Plots are visible, always

Actual: Plots are sometimes visible, but invisible more often than not. I assume related to https://github.com/holoviz/hvplot/issues/214#issuecomment-1906508138.

There is no obvious "refresh" button the JupyterLab Desktop web app, so the "just refresh" workaround does not work for me.

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

In a fresh JupyterLab notebook:

import polars as pl
import hvplot, hvplot.pandas, hvplot.polars
hvplot.extension("bokeh")

pl.DataFrame(dict(x=[1,2,3], y=[4,5,6])).hvplot.scatter(x="x", y="y")

Stack traceback and/or browser JavaScript console output

JS console output not available as far as I can tell.

Screenshots or screencasts of the bug in action

Screenshot 2024-05-24 at 10 20 18 PM
leftaroundabout commented 1 week ago

Presumably this is a duplicate of https://github.com/holoviz/hvplot/issues/1232?

No actual solution seems to have been suggested yet.

hoxbro commented 1 week ago

This is likely because WebGL does not work in Jupyterlab Desktop. See https://github.com/holoviz/holoviews/issues/6082 and https://github.com/bokeh/bokeh/issues/13665.

Can you try running before any plots?

import holoviews as hv
 hv.renderer("bokeh").webgl = False
philippjfr commented 1 week ago

Just added a PR to Panel so in future we can hopefully auto-detect the WebGL support: https://github.com/holoviz/panel/pull/6931