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.03k stars 99 forks source link

hvplot's explorer does not work interactively #1086

Closed wkjung closed 7 months ago

wkjung commented 1 year ago

ALL software version info

(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc) ubuntu 18.04 w/ jupyter lab env. Here is the conda list output:

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
affine                    2.4.0              pyhd8ed1ab_0    conda-forge
aiobotocore               2.5.0              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.4           py311h2582759_0    conda-forge
aioitertools              0.11.0             pyhd8ed1ab_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
anyio                     3.7.0              pyhd8ed1ab_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py311hd4cff14_3    conda-forge
asciitree                 0.3.3                      py_2    conda-forge
asttokens                 2.2.1              pyhd8ed1ab_0    conda-forge
async-lru                 2.0.2              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
attr                      2.5.1                h166bdaf_1    conda-forge
attrs                     23.1.0             pyh71513ae_1    conda-forge
aws-c-auth                0.6.27               he072965_1    conda-forge
aws-c-cal                 0.5.26               hf677bf3_1    conda-forge
aws-c-common              0.8.19               hd590300_0    conda-forge
aws-c-compression         0.2.16               hbad4bc6_7    conda-forge
aws-c-event-stream        0.2.20               hb4b372c_7    conda-forge
aws-c-http                0.7.7                h2632f9a_4    conda-forge
aws-c-io                  0.13.21              h9fef7b8_5    conda-forge
aws-c-mqtt                0.8.11               h2282364_1    conda-forge
aws-c-s3                  0.3.0                hcb5a9b2_2    conda-forge
aws-c-sdkutils            0.1.9                hbad4bc6_2    conda-forge
aws-checksums             0.1.14               hbad4bc6_7    conda-forge
aws-crt-cpp               0.20.2               he0fdcb3_0    conda-forge
aws-sdk-cpp               1.10.57             h059227d_13    conda-forge
babel                     2.12.1             pyhd8ed1ab_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.12.2             pyha770c72_0    conda-forge
bleach                    6.0.0              pyhd8ed1ab_0    conda-forge
blosc                     1.21.4               h0f2a231_0    conda-forge
bokeh                     3.1.1              pyhd8ed1ab_0    conda-forge
boost-cpp                 1.78.0               h6582d0a_3    conda-forge
botocore                  1.29.76            pyhd8ed1ab_0    conda-forge
branca                    0.6.0              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
brotlipy                  0.7.0           py311hd4cff14_1005    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.19.1               hd590300_0    conda-forge
ca-certificates           2023.5.7             hbcca054_0    conda-forge
cairo                     1.16.0            hbbf8b49_1016    conda-forge
cartopy                   0.21.1          py311hd88b842_1    conda-forge
certifi                   2023.5.7           pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py311h409f033_3    conda-forge
cfitsio                   4.2.0                hd9d235c_0    conda-forge
cftime                    1.6.2           py311h4c7f6c3_1    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_1    conda-forge
cloudpickle               2.2.1              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
colorcet                  3.0.1                      py_0    pyviz
comm                      0.1.3              pyhd8ed1ab_0    conda-forge
contourpy                 1.0.7           py311ha3edf6b_0    conda-forge
cramjam                   2.6.2           py311h16c4efe_0    conda-forge
cryptography              41.0.1          py311h63ff55d_0    conda-forge
curl                      8.1.2                h409715c_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cytoolz                   0.12.0          py311hd4cff14_1    conda-forge
dask                      2023.5.1           pyhd8ed1ab_0    conda-forge
dask-core                 2023.5.1           pyhd8ed1ab_0    conda-forge
datashader                0.15.0                     py_0    pyviz
datashape                 0.5.4                      py_1    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
debugpy                   1.6.7           py311hcafe171_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
distributed               2023.5.1           pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
exceptiongroup            1.1.1              pyhd8ed1ab_0    conda-forge
executing                 1.2.0              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                hcb278e6_1    conda-forge
fasteners                 0.17.3             pyhd8ed1ab_0    conda-forge
fastparquet               2023.4.0        py311hcb2cf0a_0    conda-forge
fiona                     1.9.4           py311hbac4ec9_0    conda-forge
flit-core                 3.9.0              pyhd8ed1ab_0    conda-forge
folium                    0.14.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                 hab24e00_0    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.39.4          py311h459d7ec_0    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
freexl                    1.0.6                h166bdaf_1    conda-forge
frozenlist                1.3.3           py311hd4cff14_0    conda-forge
fsspec                    2023.5.0           pyh1a96a4e_0    conda-forge
gdal                      3.7.0           py311h281082f_1    conda-forge
geopandas                 0.13.2             pyhd8ed1ab_1    conda-forge
geopandas-base            0.13.2             pyha770c72_1    conda-forge
geos                      3.11.2               hcb278e6_0    conda-forge
geotiff                   1.7.1                h480ec47_8    conda-forge
geoviews                  1.10.0                     py_0    pyviz
geoviews-core             1.10.0                     py_0    pyviz
gettext                   0.21.1               h27087fc_0    conda-forge
gflags                    2.2.2             he1b5a44_1004    conda-forge
giflib                    5.2.1                h0b41bf4_3    conda-forge
glib                      2.76.3               hfc55251_0    conda-forge
glib-tools                2.76.3               hfc55251_0    conda-forge
glog                      0.6.0                h6f12383_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gst-plugins-base          1.22.3               h938bd60_1    conda-forge
gstreamer                 1.22.3               h977cf35_1    conda-forge
harfbuzz                  7.3.0                hdb3a94d_0    conda-forge
hdf4                      4.2.15               h501b40f_6    conda-forge
hdf5                      1.14.0          nompi_hb72d44e_103    conda-forge
holoviews                 1.16.2                     py_0    pyviz
hvplot                    0.8.4                      py_0    pyviz
icu                       72.1                 hcb278e6_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        6.6.0              pyha770c72_0    conda-forge
importlib_metadata        6.6.0                hd8ed1ab_0    conda-forge
importlib_resources       5.12.0             pyhd8ed1ab_0    conda-forge
intake                    0.7.0              pyhd8ed1ab_0    conda-forge
intake-parquet            0.3.0              pyhd8ed1ab_0    conda-forge
intake-xarray             0.7.0              pyhd8ed1ab_0    conda-forge
ipykernel                 6.23.1             pyh210e3f2_0    conda-forge
ipython                   8.14.0             pyh41d4057_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                8.0.6              pyhd8ed1ab_0    conda-forge
jedi                      0.18.2             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jmespath                  1.0.1              pyhd8ed1ab_0    conda-forge
joblib                    1.2.0              pyhd8ed1ab_0    conda-forge
json-c                    0.16                 hc379101_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                4.17.3             pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0           py311h38be061_8    conda-forge
jupyter-lsp               2.2.0              pyhd8ed1ab_0    conda-forge
jupyter_client            8.2.0              pyhd8ed1ab_0    conda-forge
jupyter_console           6.6.3              pyhd8ed1ab_0    conda-forge
jupyter_core              5.3.0           py311h38be061_0    conda-forge
jupyter_events            0.6.3              pyhd8ed1ab_0    conda-forge
jupyter_server            2.6.0              pyhd8ed1ab_0    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyterlab                4.0.1              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.22.1             pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        3.0.7              pyhd8ed1ab_1    conda-forge
kealib                    1.5.1                h3845be2_3    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.4           py311h4dd048b_1    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
lcms2                     2.15                 haa2dc70_1    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libabseil                 20230125.2      cxx17_h59595ed_2    conda-forge
libaec                    1.0.6                hcb278e6_1    conda-forge
libarchive                3.6.2                h039dbb9_1    conda-forge
libarrow                  12.0.0           hed73b3e_6_cpu    conda-forge
libblas                   3.9.0           17_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcap                    2.67                 he9d0100_0    conda-forge
libcblas                  3.9.0           17_linux64_openblas    conda-forge
libclang                  15.0.7          default_h7634d5b_2    conda-forge
libclang13                15.0.7          default_h9986a30_2    conda-forge
libcrc32c                 1.1.2                h9c3ff4c_0    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   8.1.2                h409715c_0    conda-forge
libdeflate                1.18                 h0b41bf4_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.12               hf998b51_1    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libflac                   1.4.2                h27087fc_0    conda-forge
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libgcrypt                 1.10.1               h166bdaf_0    conda-forge
libgdal                   3.7.0                h9f4e061_1    conda-forge
libgfortran-ng            13.1.0               h69a702a_0    conda-forge
libgfortran5              13.1.0               h15d22d2_0    conda-forge
libglib                   2.76.3               hebfc3b9_0    conda-forge
libgomp                   13.1.0               he5830b7_0    conda-forge
libgoogle-cloud           2.11.0               hac9eb74_1    conda-forge
libgpg-error              1.46                 h620e276_0    conda-forge
libgrpc                   1.54.2               hb20ce57_2    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libjpeg-turbo             2.1.5.1              h0b41bf4_0    conda-forge
libkml                    1.3.0             h37653c0_1015    conda-forge
liblapack                 3.9.0           17_linux64_openblas    conda-forge
libllvm14                 14.0.6               hcd5def8_3    conda-forge
libllvm15                 15.0.7               h5cf9203_2    conda-forge
libnetcdf                 4.9.2           nompi_h0f3d0bb_105    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libnuma                   2.0.16               h0b41bf4_1    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.23          pthreads_h80387f5_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libpq                     15.3                 hbcd7760_1    conda-forge
libprotobuf               3.21.12              h3eb15da_0    conda-forge
librttopo                 1.1.0               h0d5128d_13    conda-forge
libsndfile                1.2.0                hb75c966_0    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspatialindex           1.9.3                h9c3ff4c_4    conda-forge
libspatialite             5.0.1               hb46c372_26    conda-forge
libsqlite                 3.42.0               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge
libsystemd0               253                  h8c4010b_1    conda-forge
libthrift                 0.18.1               h8fd135c_2    conda-forge
libtiff                   4.5.0                ha587672_6    conda-forge
libutf8proc               2.8.0                h166bdaf_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp-base              1.3.0                h0b41bf4_0    conda-forge
libxcb                    1.15                 h0b41bf4_0    conda-forge
libxkbcommon              1.5.0                h5d7e998_3    conda-forge
libxml2                   2.11.4               h0d562d8_0    conda-forge
libzip                    1.9.2                hc929e4a_1    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
linkify-it-py             2.0.0              pyhd8ed1ab_0    conda-forge
llvmlite                  0.40.0          py311ha6695c7_0    conda-forge
locket                    1.0.0              pyhd8ed1ab_0    conda-forge
lz4                       4.3.2           py311h9f220a4_0    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mapclassify               2.5.0              pyhd8ed1ab_1    conda-forge
markdown                  3.4.3              pyhd8ed1ab_0    conda-forge
markdown-it-py            2.2.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.3           py311h459d7ec_0    conda-forge
matplotlib                3.7.1           py311h38be061_0    conda-forge
matplotlib-base           3.7.1           py311h8597a09_0    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mdit-py-plugins           0.4.0              pyhd8ed1ab_0    conda-forge
mdurl                     0.1.0              pyhd8ed1ab_0    conda-forge
mistune                   2.0.5              pyhd8ed1ab_0    conda-forge
mpg123                    1.31.3               hcb278e6_0    conda-forge
msgpack-python            1.0.5           py311ha3edf6b_0    conda-forge
multidict                 6.0.4           py311h2582759_0    conda-forge
multipledispatch          0.6.0                      py_0    conda-forge
munch                     3.0.0              pyhd8ed1ab_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.32               hf1915f5_2    conda-forge
mysql-libs                8.0.32               hca2cd23_2    conda-forge
nbclassic                 1.0.0              pyhb4ecaf3_1    conda-forge
nbclient                  0.8.0              pyhd8ed1ab_0    conda-forge
nbconvert                 7.4.0              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.4.0              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          7.4.0              pyhd8ed1ab_0    conda-forge
nbformat                  5.9.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.4                  hcb278e6_0    conda-forge
nest-asyncio              1.5.6              pyhd8ed1ab_0    conda-forge
netcdf4                   1.6.4           nompi_py311h4d7c953_100    conda-forge
networkx                  3.1                pyhd8ed1ab_0    conda-forge
notebook                  6.5.4              pyha770c72_0    conda-forge
notebook-shim             0.2.3              pyhd8ed1ab_0    conda-forge
nspr                      4.35                 h27087fc_0    conda-forge
nss                       3.89                 he45b914_0    conda-forge
numba                     0.57.0          py311h96b013e_1    conda-forge
numcodecs                 0.11.0          py311hcafe171_1    conda-forge
numpy                     1.24.3          py311h64a7726_0    conda-forge
openjpeg                  2.5.0                hfec8fc6_2    conda-forge
openssl                   3.1.1                hd590300_1    conda-forge
orc                       1.8.3                h2f23424_1    conda-forge
overrides                 7.3.1              pyhd8ed1ab_0    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pandas                    2.0.2           py311h320fe9a_0    conda-forge
pandoc                    2.19.2               h32600fe_2    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
panel                     1.1.0                      py_0    pyviz
param                     1.13.0                     py_0    pyviz
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
partd                     1.4.0              pyhd8ed1ab_0    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.5.0           py311h0b84326_1    conda-forge
pip                       23.1.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
platformdirs              3.5.1              pyhd8ed1ab_0    conda-forge
plotly                    5.14.1             pyhd8ed1ab_0    conda-forge
ply                       3.11                       py_1    conda-forge
pooch                     1.7.0              pyha770c72_3    conda-forge
poppler                   23.05.0              hd18248d_1    conda-forge
poppler-data              0.4.12               hd8ed1ab_0    conda-forge
postgresql                15.3                 hd458b1d_1    conda-forge
proj                      9.2.0                h8ffa02c_0    conda-forge
prometheus_client         0.17.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.38             pyha770c72_0    conda-forge
prompt_toolkit            3.0.38               hd8ed1ab_0    conda-forge
psutil                    5.9.5           py311h2582759_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pulseaudio-client         16.1                 hb77b528_4    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyarrow                   12.0.0          py311hdf9aeb4_6_cpu    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyct                      0.5.0                      py_0    pyviz
pyct-core                 0.5.0                      py_0    pyviz
pygments                  2.15.1             pyhd8ed1ab_0    conda-forge
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyproj                    3.5.0           py311h1850bce_1    conda-forge
pyqt                      5.15.7          py311ha74522f_3    conda-forge
pyqt5-sip                 12.11.0         py311hcafe171_3    conda-forge
pyrsistent                0.19.3          py311h2582759_0    conda-forge
pyshp                     2.3.1              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.11.3          h2755cc3_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.17.1             pyhd8ed1ab_0    conda-forge
python-json-logger        2.0.7              pyhd8ed1ab_0    conda-forge
python-tzdata             2023.3             pyhd8ed1ab_0    conda-forge
python_abi                3.11                    3_cp311    conda-forge
pytz                      2023.3             pyhd8ed1ab_0    conda-forge
pyviz_comms               0.7.6                      py_0    pyviz
pyyaml                    6.0             py311hd4cff14_5    conda-forge
pyzmq                     25.1.0          py311h75c88c4_0    conda-forge
qt-main                   5.15.8              h01ceb2d_13    conda-forge
qtconsole                 5.4.3              pyhd8ed1ab_0    conda-forge
qtconsole-base            5.4.3              pyha770c72_0    conda-forge
qtpy                      2.3.1              pyhd8ed1ab_0    conda-forge
rasterio                  1.3.7           py311h138ec3c_1    conda-forge
rdma-core                 28.9                 h59595ed_1    conda-forge
re2                       2023.03.02           h8c504da_0    conda-forge
readline                  8.2                  h8228510_1    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
rtree                     1.0.1           py311h3bb2b0f_1    conda-forge
s2n                       1.3.44               h06160fa_0    conda-forge
s3fs                      2023.5.0           pyhd8ed1ab_0    conda-forge
scikit-learn              1.2.2           py311hc009520_2    conda-forge
scipy                     1.10.1          py311h64a7726_3    conda-forge
send2trash                1.8.2              pyh41d4057_0    conda-forge
setuptools                67.7.2             pyhd8ed1ab_0    conda-forge
shapely                   2.0.1           py311h54d622a_1    conda-forge
sip                       6.7.9           py311hb755f60_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.10               h9fff704_0    conda-forge
sniffio                   1.3.0              pyhd8ed1ab_0    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
spatialpandas             0.4.8                      py_0    pyviz
sqlite                    3.42.0               h2c6b66d_0    conda-forge
stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
streamz                   0.6.4              pyh6c4a22f_0    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
tenacity                  8.2.2              pyhd8ed1ab_0    conda-forge
terminado                 0.17.1             pyh41d4057_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tiledb                    2.13.2               hd532e3d_0    conda-forge
tinycss2                  1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tornado                   6.3.2           py311h459d7ec_0    conda-forge
tqdm                      4.65.0             pyhd8ed1ab_1    conda-forge
traitlets                 5.9.0              pyhd8ed1ab_0    conda-forge
typing-extensions         4.6.3                hd8ed1ab_0    conda-forge
typing_extensions         4.6.3              pyha770c72_0    conda-forge
typing_utils              0.1.0              pyhd8ed1ab_0    conda-forge
tzcode                    2023c                h0b41bf4_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
uc-micro-py               1.0.1              pyhd8ed1ab_0    conda-forge
ucx                       1.14.1               hf587318_2    conda-forge
urllib3                   1.26.15            pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.6              pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.5.2              pyhd8ed1ab_0    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
widgetsnbextension        4.0.7              pyhd8ed1ab_0    conda-forge
wrapt                     1.15.0          py311h2582759_0    conda-forge
xarray                    2023.5.0           pyhd8ed1ab_0    conda-forge
xcb-util                  0.4.0                hd590300_1    conda-forge
xcb-util-image            0.4.0                h8ee46fc_1    conda-forge
xcb-util-keysyms          0.4.0                h8ee46fc_1    conda-forge
xcb-util-renderutil       0.3.9                hd590300_1    conda-forge
xcb-util-wm               0.4.1                h8ee46fc_1    conda-forge
xerces-c                  3.2.4                h8d71039_2    conda-forge
xkeyboard-config          2.38                 h0b41bf4_0    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.1.1                hd590300_0    conda-forge
xorg-libsm                1.2.4                h7391055_0    conda-forge
xorg-libx11               1.8.5                h8ee46fc_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xf86vidmodeproto     2.3.1             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xyzservices               2023.5.0           pyhd8ed1ab_1    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yarl                      1.9.2           py311h459d7ec_0    conda-forge
zarr                      2.14.2             pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zict                      3.0.0              pyhd8ed1ab_0    conda-forge
zipp                      3.15.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

Microsoft edge and brave.

Description of expected behavior and the observed behavior

See discussion first at https://discourse.holoviz.org/t/does-hvplot-explorer-work-interactively/5512

After instantiating a hvplot explorer, if I change a variable (e.g. Kind from 'line' to a 'box'), the graph at the right does not get updated at all.

At all, I mean, like adding a title, moving a legend, etc, does not have an effect.

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

After launching a jupyter lab, run a browser (edge/brave) by clicking the link given by the jupyter lab, run a cell below:

import hvplot.pandas

from bokeh.sampledata.penguins import data as df
hvexplorer = hvplot.explorer(df)
hvexplorer

change any variable, e.g. Kind from 'line' to 'box' or whatever.

This is JS console output:

jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1 Connection lost, reconnecting in 0 seconds.
_reconnect @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
reconnect @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
restart @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
await in restart (async)
restartKernel @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
restart @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
await in restart (async)
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
triggerActiveItem @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
_evtMouseUp @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
handleEvent @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1 TypeError: Cannot read properties of undefined (reading 'widget')
    at isReady (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:1054549)
    at jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:872986
    at b (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:873080)
    at P.onKernelChanged (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:1053706)
    at m (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:1646566)
    at Object.l [as emit] (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:1646242)
    at a.emit (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:1644079)
    at b.restartKernel (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:127003)
    at async y.restart (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:134701)
    at async execute (jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1:65675)
onKernelChanged @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
await in onKernelChanged (async)
m @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
l @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
emit @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
restartKernel @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
await in restartKernel (async)
restart @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
await in restart (async)
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
execute @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
triggerActiveItem @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
_evtMouseUp @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
handleEvent @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
bokeh-3.1.1.min.js:464 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
    at g.blit_webgl (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:464:2802)
    at _._paint_levels (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:582:15891)
    at _._actual_paint (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:582:15197)
    at _.paint (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:582:14153)
    at _._after_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:582:13990)
    at _.after_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:547:6160)
    at c.after_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:547:6140)
    at c.after_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:547:6140)
    at c.after_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:547:6140)
    at c.compute_layout (https://cdn.bokeh.org/bokeh/release/bokeh-3.1.1.min.js:547:5540)
blit_webgl @ bokeh-3.1.1.min.js:464
_paint_levels @ bokeh-3.1.1.min.js:582
_actual_paint @ bokeh-3.1.1.min.js:582
paint @ bokeh-3.1.1.min.js:582
_after_layout @ bokeh-3.1.1.min.js:582
after_layout @ bokeh-3.1.1.min.js:547
after_layout @ bokeh-3.1.1.min.js:547
after_layout @ bokeh-3.1.1.min.js:547
after_layout @ bokeh-3.1.1.min.js:547
compute_layout @ bokeh-3.1.1.min.js:547
_after_resize @ bokeh-3.1.1.min.js:547
after_resize @ bokeh-3.1.1.min.js:430
(anonymous) @ bokeh-3.1.1.min.js:430
150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ 150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1
await in _loadFromKernel (async)
_loadFromKernel @ 134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1
restoreWidgets @ 134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1
_handleKernelConnectionStatusChange @ 134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1
(anonymous) @ 134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1
m @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
l @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
emit @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
_onConnectionStatusChanged @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
m @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
l @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
emit @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
onKernelConnectionStatus @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
m @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
l @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
emit @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
_updateConnectionStatus @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
_onWSOpen @ jlab_core.b473ae48d19e9025bb00.js?v=b473ae48d19e9025bb00:1
bokeh-3.1.1.min.js:183 [bokeh] setting log level to: 'info'
wkjung commented 1 year ago

FYI The problem disappears with jupyterlab < 4.

maximlt commented 7 months ago

I consider this issue resolved, please let me know if it's not the case, at which point I'll re-open it.

fkohrt commented 3 months ago

Given that JupyterLab 3 has reached its end of maintenance on May 15, 2024, will the explorer be supported on JupyterLab 4?

maximlt commented 3 months ago

Oh yes it does already. What made you think it wasn't supported on JupyterLab 4?

fkohrt commented 3 months ago

Using JupyterLab 4.1.4, it doesn't for me. I could open an issue regarding that.

pip freeze ``` anyio==4.3.0 appdirs==1.4.4 argcomplete==2.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 Babel==2.14.0 bcrypt==4.0.1 beautifulsoup4==4.12.3 bleach==6.1.0 blivet==3.8.2 blivet-gui==2.5.0 bokeh==3.4.1 borgbackup==1.2.8 bottle==0.12.25 Brlapi==0.8.5 Brotli==1.1.0 certifi==2023.5.7 cffi==1.15.1 chardet==5.2.0 charset-normalizer==3.2.0 click==8.1.3 colorcet==3.1.0 comm==0.2.1 contourpy==1.2.1 cryptography==41.0.7 cssselect==1.1.0 cupshelpers==1.0 cycler==0.12.1 dasbus==1.7 dbus-next==0.2.3 dbus-python==1.3.2 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distro==1.8.0 dnf==4.19.2 docutils==0.19 eduvpn-client==4.2.1 eduvpn-common==1.2.0 executing==2.0.1 fastjsonschema==2.19.1 fedora-third-party==0.10 file-magic==0.4.0 fonttools==4.51.0 fqdn==1.5.1 fros==1.1 gpg==1.20.0 h11==0.14.0 holoviews==1.18.3 httpcore==1.0.4 httpx==0.27.0 humanize==3.13.1 hvplot==0.9.2 i3ipc==2.2.1 idna==3.4 img2pdf==0.5.1 importlib-metadata==6.8.0 inkex==1.3.0 ipykernel==6.29.3 ipython==8.22.2 isodate==0.6.1 isoduration==20.11.0 itables==2.0.0 jedi==0.19.1 jeepney==0.8.0 Jinja2==3.1.3 json5==0.9.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-events==0.9.0 jupyter-lsp==2.2.4 jupyter_client==8.6.0 jupyter_core==5.7.1 jupyter_server==2.13.0 jupyter_server_terminals==0.5.2 jupyterlab==4.1.4 jupyterlab_pygments==0.3.0 jupyterlab_server==2.25.3 kiwisolver==1.4.5 langtable==0.0.65 Levenshtein==0.21.0 libcomps==0.1.20 libdnf==0.73.1 linkify-it-py==2.0.3 llfuse==1.5.0 lxml==4.9.3 Markdown==3.6 markdown-it-py==3.0.0 MarkupSafe==2.1.3 matplotlib==3.8.4 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 meson==1.3.2 mistune==3.0.2 msgpack==1.0.5 mutagen==1.46.0 nbclient==0.9.0 nbconvert==7.16.2 nbformat==5.9.2 nest-asyncio==1.6.0 nftables==0.1 notebook_shim==0.2.4 numpy==1.26.4 oauthlib==3.2.2 olefile==0.46 outcome==1.1.0 overrides==7.7.0 packaging==23.1 pandas==2.2.2 pandocfilters==1.5.1 panel==1.4.1 panflute==2.3.0 param==2.1.0 paramiko==3.4.0 parso==0.8.3 pdfrw==0.4 peewee==3.17.1 pexpect==4.8.0 photofilmstrip==4.0.0 pid==2.2.3 pikepdf==8.13.0 pillow==10.3.0 platformdirs==3.9.1 plotly==5.20.0 ply==3.11 productmd==1.38 prometheus_client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pwquality==1.4.5 pyasn1==0.5.1 pycairo==1.25.1 pycountry==22.3.5 pycparser==2.20 pycryptodomex==3.20.0 pycups==2.0.1 pycurl==7.45.2 pyenchant==3.2.2 Pygments==2.15.1 PyGObject==3.46.0 pyinotify==0.9.6 PyJWT==2.6.0 pykickstart==3.48 PyNaCl==1.5.0 pyparsing==3.0.9 pyparted==3.13.0 PyQt5==5.15.10 PyQt5-sip==12.13.0 pyserial==3.5 PySocks==1.7.1 python-augeas==1.1.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-meh==0.51 python-xlib==0.33 pytz==2024.1 pyudev==0.24.1 pyviz_comms==3.0.2 pyxdg==0.27 PyYAML==6.0.1 pyzmq==25.1.2 rapidfuzz==2.13.7 referencing==0.33.0 regex==2023.12.25 reportlab==4.0.4 requests==2.31.0 requests-file==1.5.1 requests-ftp==0.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds-py==0.18.0 rpm==4.19.1.1 rpmconf==1.1.10 rst2pdf==0.101 scipy==1.13.0 scour==0.38.2 SecretStorage==3.3.3 selinux @ file:///builddir/build/BUILD/libselinux-3.5/src Send2Trash==1.8.2 sepolicy @ file:///builddir/build/BUILD/selinux-3.5/python/sepolicy setools==4.4.3 setuptools==67.7.2 simpleaudio==1.0.4 simpleline==1.9.0 six==1.16.0 smartypants==2.0.1 sniffio==1.2.0 sortedcontainers==2.4.0 sos==4.6.0 soupsieve==2.5 stack-data==0.6.3 streamlink==6.6.2 systemd-python==235 tenacity==8.2.3 terminado==0.18.0 tinycss2==1.2.1 torbrowser-launcher==0.3.7 tornado==6.4 tqdm==4.66.2 traitlets==5.14.1 trio==0.22.0 trio-websocket==0.11.1 types-python-dateutil==2.8.19.20240106 typing_extensions==4.8.0 tzdata==2024.1 uc-micro-py==1.0.3 ulauncher==5.15.7 uri-template==1.3.0 urllib3==1.26.18 vorta==0.8.12 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.3.3 websockets==11.0.3 wheel==0.40.0 wrapt==1.16.0 wsproto==1.2.0 wxPython==4.2.1 xarray==2024.3.0 xyzservices==2024.4.0 youtube-dl==2021.12.17 yt-dlp==2024.3.10 zipp==3.16.2 ```
maximlt commented 3 months ago
fkohrt commented 3 months ago

What I meant was that setting widgets doesn't have any effect, as in the original description of this issue. Somehow however, it does work now, as I wanted to create a video of the faulty behavior. Therefore everything's fine, for whatever reason :)

maximlt commented 3 months ago

Computers :)