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.08k stars 105 forks source link

ValueError: ClassSelector parameter None value must be an instance of (function, tuple), not <function size at 0x7ca734f7ee70>. #1409

Closed iuryt closed 1 week ago

iuryt commented 1 week ago

ALL software version info

(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc)

conda list ``` # packages in environment at /home/iury/miniforge3/envs/coringa: # # Name Version Build Channel _ipython_minor_entry_point 8.7.0 h8cf3c4a_0 conda-forge _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_kmp_llvm conda-forge adal 1.2.7 pyhd8ed1ab_0 conda-forge adlfs 2023.1.0 pyhd8ed1ab_0 conda-forge affine 2.4.0 pyhd8ed1ab_0 conda-forge aiobotocore 2.12.2 pyhd8ed1ab_0 conda-forge aiofiles 23.1.0 pyhd8ed1ab_1 conda-forge aiohttp 3.9.5 py39hd1e30aa_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 4.3.0 pyhd8ed1ab_0 conda-forge aom 3.5.0 h27087fc_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py39hd1e30aa_4 conda-forge argopy 0.1.12 pyhd8ed1ab_0 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge arrow-cpp 10.0.1 h27aab58_4_cpu conda-forge asciitree 0.3.3 py_2 conda-forge asttokens 2.2.1 pyhd8ed1ab_0 conda-forge async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge atk-1.0 2.38.0 hd4edc92_1 conda-forge attr 2.5.1 h166bdaf_1 conda-forge attrs 22.2.0 pyh71513ae_0 conda-forge aws-c-auth 0.6.21 h774e2f3_1 conda-forge aws-c-cal 0.5.20 hff2c3d7_3 conda-forge aws-c-common 0.8.5 h166bdaf_0 conda-forge aws-c-compression 0.2.16 hf5f93bc_0 conda-forge aws-c-event-stream 0.2.16 h52dae97_0 conda-forge aws-c-http 0.6.29 hf21410f_0 conda-forge aws-c-io 0.13.11 h4f448d1_2 conda-forge aws-c-mqtt 0.7.13 hefb3e95_10 conda-forge aws-c-s3 0.2.1 h927de71_2 conda-forge aws-c-sdkutils 0.1.7 hf5f93bc_0 conda-forge aws-checksums 0.1.14 h6027aba_0 conda-forge aws-crt-cpp 0.18.16 h89864ff_5 conda-forge aws-sdk-cpp 1.9.379 h33d5b13_6 conda-forge azure-core 1.26.3 pyhd8ed1ab_0 conda-forge azure-datalake-store 0.0.51 pyh9f0ad1d_0 conda-forge azure-identity 1.12.0 pyhd8ed1ab_0 conda-forge azure-storage-blob 12.15.0 pyhd8ed1ab_0 conda-forge babel 2.14.0 pyhd8ed1ab_0 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 basemap 1.3.6 py39h4b1ae18_2 conda-forge basemap-data 1.3.2 pyhd8ed1ab_3 conda-forge beautifulsoup4 4.11.2 pyha770c72_0 conda-forge binutils 2.39 hdd6e379_1 conda-forge binutils_impl_linux-64 2.39 he00db2b_1 conda-forge binutils_linux-64 2.39 h5fc0e48_13 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge blinker 1.5 pyhd8ed1ab_0 conda-forge blosc 1.21.3 hafa529b_0 conda-forge bokeh 2.4.3 pyhd8ed1ab_3 conda-forge boost-cpp 1.78.0 h75c5d50_1 conda-forge boto3 1.34.51 pyhd8ed1ab_0 conda-forge botocore 1.34.51 pyge38_1234567_0 conda-forge bottleneck 1.3.5 py39h2ae25f5_1 conda-forge bounded-pool-executor 0.0.3 pyhd8ed1ab_0 conda-forge bqplot 0.12.43 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 py39hb9d737c_1005 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge c-ares 1.18.1 h7f98852_0 conda-forge c-compiler 1.6.0 hd590300_0 conda-forge ca-certificates 2024.8.30 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.3.0 pyhd8ed1ab_0 conda-forge cachier 3.0.0 pyhd8ed1ab_0 conda-forge cairo 1.16.0 ha61ee94_1014 conda-forge cartopy 0.22.0 py39hddac248_1 conda-forge certifi 2024.8.30 pyhd8ed1ab_0 conda-forge cf_xarray 0.9.1 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py39he91dace_3 conda-forge cfitsio 4.2.0 hd9d235c_0 conda-forge cftime 1.6.2 py39h2ae25f5_1 conda-forge cgen 2020.1 py_0 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.0 pyhd8ed1ab_0 conda-forge cmasher 1.8.0 pyhd8ed1ab_0 conda-forge cmcrameri 1.7 pyhd8ed1ab_0 conda-forge cmocean 2.0 py_3 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge colorcet 3.0.1 pyhd8ed1ab_0 conda-forge colorspacious 1.1.2 pyh24bf2e0_0 conda-forge colour 0.1.5 pyhd8ed1ab_1 conda-forge comm 0.1.2 pyhd8ed1ab_0 conda-forge contourpy 1.0.6 py39hf939315_0 conda-forge copernicusmarine 1.2.0 pyhd8ed1ab_0 conda-forge cramjam 2.7.0 py39h9fdd4d6_1 conda-forge cryptography 38.0.4 py39h3ccb8fc_0 conda-forge cuda-version 11.8 h70ddcb2_2 conda-forge cudatoolkit 11.8.0 h4ba93d1_12 conda-forge curl 8.1.2 h409715c_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cytoolz 0.12.0 py39hb9d737c_1 conda-forge dask 2023.8.1 pyhd8ed1ab_0 conda-forge dask-core 2023.8.1 pyhd8ed1ab_0 conda-forge dask-glm 0.2.0 py_1 conda-forge dask-jobqueue 0.8.1 pyhd8ed1ab_0 conda-forge dask-ml 2023.3.24 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge datashader 0.16.3 pyhd8ed1ab_0 conda-forge datashape 0.5.4 py_1 conda-forge dateparser 1.1.8 pyhd8ed1ab_0 conda-forge dbus 1.13.6 h5008d03_3 conda-forge debugpy 1.6.4 py39h5a03fae_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distributed 2023.8.1 pyhd8ed1ab_0 conda-forge dnspython 2.6.1 pyhd8ed1ab_0 conda-forge docopt 0.6.2 py_1 conda-forge docrep 0.3.2 pyh44b312d_0 conda-forge earthaccess 0.9.0 pyhd8ed1ab_0 conda-forge earthengine-api 0.1.408 pyhd8ed1ab_0 conda-forge ee_extra 0.0.15 pyhd8ed1ab_0 conda-forge eerepr 0.0.4 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge erddapy 1.2.1 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge exceptiongroup 1.1.1 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge expat 2.5.0 h27087fc_0 conda-forge fasteners 0.17.3 pyhd8ed1ab_0 conda-forge fastparquet 2023.8.0 py39h44dd56e_1 conda-forge ffmpeg 5.1.2 gpl_h8dda1f0_106 conda-forge ffmpeg-python 0.2.0 py_0 conda-forge fftw 3.3.10 nompi_hf0379b8_106 conda-forge filelock 3.12.2 pyhd8ed1ab_0 conda-forge fiona 1.9.1 py39hbc5ff6d_0 conda-forge flox 0.6.8 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.1 hc2a2eb6_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.38.0 py39hb9d737c_1 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 hca18f0e_1 conda-forge freexl 1.0.6 h166bdaf_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge frozenlist 1.3.3 py39hb9d737c_0 conda-forge fsspec 2023.12.2 pyhca7485f_0 conda-forge ftfy 6.1.1 pyhd8ed1ab_0 conda-forge future 0.18.3 pyhd8ed1ab_0 conda-forge gcc 12.2.0 h26027b1_13 conda-forge gcc_impl_linux-64 12.2.0 hcc96c02_19 conda-forge gcc_linux-64 12.2.0 h4798a0e_13 conda-forge gdal 3.6.2 py39hc6cd174_0 conda-forge gdk-pixbuf 2.42.10 h05c8ddd_0 conda-forge gdown 5.2.0 pyhd8ed1ab_0 conda-forge geeadd 0.5.6 pyhd8ed1ab_0 conda-forge geedim 1.8.1 pyhd8ed1ab_0 conda-forge geemap 0.32.0 pyhd8ed1ab_1 conda-forge geocoder 1.38.1 py_1 conda-forge geojson 3.1.0 pyhd8ed1ab_0 conda-forge geopandas 0.14.4 pyhd8ed1ab_0 conda-forge geopandas-base 0.14.4 pyha770c72_0 conda-forge geos 3.11.1 h27087fc_0 conda-forge geotiff 1.7.1 h7a142b4_6 conda-forge geoviews 1.9.6 pyhd8ed1ab_0 conda-forge geoviews-core 1.9.6 pyha770c72_0 conda-forge gettext 0.21.1 h27087fc_0 conda-forge gflags 2.2.2 he1b5a44_1004 conda-forge giflib 5.2.1 h0b41bf4_3 conda-forge gifsicle 1.94 hd590300_0 conda-forge glib 2.74.1 h6239696_1 conda-forge glib-tools 2.74.1 h6239696_1 conda-forge glog 0.6.0 h6f12383_0 conda-forge gmp 6.2.1 h58526e2_0 conda-forge gmpy2 2.1.2 py39h376b7d2_1 conda-forge gnutls 3.7.8 hf3e180e_0 conda-forge google-api-core 2.19.1 pyhd8ed1ab_0 conda-forge google-api-python-client 2.135.0 pyhd8ed1ab_0 conda-forge google-auth 2.30.0 pyhff2d567_0 conda-forge google-auth-httplib2 0.2.0 pyhd8ed1ab_0 conda-forge google-cloud-core 2.4.1 pyhd8ed1ab_0 conda-forge google-cloud-storage 2.17.0 pyhff2d567_0 conda-forge google-crc32c 1.1.2 py39h328ec2c_5 conda-forge google-resumable-media 2.7.0 pyhd8ed1ab_0 conda-forge googleapis-common-protos 1.63.2 pyhd8ed1ab_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge graphviz 7.0.5 h2e5815a_0 conda-forge grpcio 1.51.1 py39h8c60046_0 conda-forge gst-plugins-base 1.21.3 h4243ec0_1 conda-forge gstreamer 1.21.3 h25f0c4b_1 conda-forge gstreamer-orc 0.4.33 h166bdaf_0 conda-forge gsw 3.4.0 py39hd257fcd_3 conda-forge gtk2 2.24.33 h90689f9_2 conda-forge gts 0.7.6 h64030ff_2 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge h5netcdf 1.1.0 pyhd8ed1ab_0 conda-forge h5py 3.7.0 nompi_py39h817c9c5_102 conda-forge harfbuzz 6.0.0 h8e241bc_0 conda-forge hdf4 4.2.15 h9772cbc_5 conda-forge hdf5 1.12.2 nompi_h4df4325_100 conda-forge heapdict 1.0.1 py_0 conda-forge holoviews 1.15.4 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge html5lib 1.1 pyh9f0ad1d_0 conda-forge httpcore 1.0.5 pyhd8ed1ab_0 conda-forge httplib2 0.22.0 pyhd8ed1ab_0 conda-forge hvplot 0.10.0 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 70.1 h27087fc_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge imageio 2.34.2 pypi_0 pypi importlib-metadata 6.1.0 pyha770c72_0 conda-forge importlib_metadata 6.1.0 hd8ed1ab_0 conda-forge importlib_resources 5.12.0 pyhd8ed1ab_0 conda-forge iniconfig 2.0.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 ipycytoscape 1.3.3 pyhd8ed1ab_1 conda-forge ipyevents 2.0.2 pyhd8ed1ab_0 conda-forge ipyfilechooser 0.6.0 pyhd8ed1ab_0 conda-forge ipykernel 6.19.4 pyh210e3f2_0 conda-forge ipyleaflet 0.19.1 pyhd8ed1ab_0 conda-forge ipyspin 1.0.1 pyhd8ed1ab_0 conda-forge ipython 8.7.0 pyh41d4057_0 conda-forge ipython_genutils 0.2.0 pyhd8ed1ab_1 conda-forge ipytree 0.2.2 pyhd8ed1ab_0 conda-forge ipyurl 0.1.2 pyh3684270_1 conda-forge ipywidgets 8.0.4 pyhd8ed1ab_0 conda-forge isodate 0.6.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jack 1.9.21 h583fa2b_2 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 jpeg 9e h166bdaf_2 conda-forge json-c 0.16 hc379101_0 conda-forge json5 0.9.25 pyhd8ed1ab_0 conda-forge jsonpointer 3.0.0 py39hf3d152e_0 conda-forge jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.17.3 pyhd8ed1ab_0 conda-forge jupyter_client 7.4.8 pyhd8ed1ab_0 conda-forge jupyter_core 5.1.1 py39hf3d152e_0 conda-forge jupyter_events 0.6.3 pyhd8ed1ab_1 conda-forge jupyter_leaflet 0.19.1 pyhd8ed1ab_0 conda-forge jupyter_server 2.10.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge jupyter_server_xarray_leaflet 0.2.3 pyhd8ed1ab_0 conda-forge jupyterlab 3.5.3 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.24.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.5 pyhd8ed1ab_0 conda-forge kealib 1.5.0 ha7026e8_0 conda-forge kernel-headers_linux-64 2.6.32 he073ed8_15 conda-forge keyutils 1.6.1 h166bdaf_0 conda-forge kiwisolver 1.4.4 py39hf939315_1 conda-forge krb5 1.20.1 h81ceb04_0 conda-forge lame 3.100 h166bdaf_1003 conda-forge lcms2 2.15 hfd0df8a_0 conda-forge ld_impl_linux-64 2.39 hcc3a1bd_1 conda-forge lerc 4.0.0 h27087fc_0 conda-forge libabseil 20220623.0 cxx17_h05df665_6 conda-forge libaec 1.0.6 h9c3ff4c_0 conda-forge libarrow 10.0.1 h86614e7_4_cpu conda-forge libblas 3.9.0 16_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.66 ha37c62d_0 conda-forge libcblas 3.9.0 16_linux64_openblas conda-forge libclang 15.0.6 default_h2e3cab8_0 conda-forge libclang13 15.0.6 default_h3a83d3e_0 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 libdap4 3.20.6 hd7c4107_2 conda-forge libdb 6.2.32 h9c3ff4c_0 conda-forge libdeflate 1.14 h166bdaf_0 conda-forge libdrm 2.4.114 h166bdaf_0 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 h516909a_1 conda-forge libevent 2.1.10 h28343ad_4 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libflac 1.4.2 h27087fc_0 conda-forge libgcc 14.1.0 h77fa898_1 conda-forge libgcc-devel_linux-64 12.2.0 h3b97bd3_19 conda-forge libgcc-ng 14.1.0 h69a702a_1 conda-forge libgcrypt 1.10.1 h166bdaf_0 conda-forge libgd 2.3.3 h5aea950_4 conda-forge libgdal 3.6.2 hdfbbfed_0 conda-forge libgfortran-ng 12.2.0 h69a702a_19 conda-forge libgfortran5 12.2.0 h337968e_19 conda-forge libglib 2.74.1 h606061b_1 conda-forge libgomp 14.1.0 h77fa898_1 conda-forge libgoogle-cloud 2.5.0 h21dfe5b_1 conda-forge libgpg-error 1.45 hc0c96e0_0 conda-forge libgrpc 1.51.1 h30feacc_0 conda-forge libhwloc 2.9.1 hd6dc26d_0 conda-forge libiconv 1.17 h166bdaf_0 conda-forge libidn2 2.3.4 h166bdaf_0 conda-forge libkml 1.3.0 h37653c0_1015 conda-forge liblapack 3.9.0 16_linux64_openblas conda-forge libllvm11 11.1.0 he0ac6c6_5 conda-forge libllvm14 14.0.6 hcd5def8_4 conda-forge libllvm15 15.0.6 h63197d8_0 conda-forge libmagic 5.39 h753d276_1 conda-forge libmagma 2.7.1 hc72dce7_3 conda-forge libmagma_sparse 2.7.1 hc72dce7_4 conda-forge libnetcdf 4.8.1 nompi_h261ec11_106 conda-forge libnghttp2 1.52.0 h61bc06f_0 conda-forge libnsl 2.0.0 h7f98852_0 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopenblas 0.3.21 pthreads_h78a6416_3 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpciaccess 0.17 h166bdaf_0 conda-forge libpng 1.6.39 h753d276_0 conda-forge libpq 15.2 hb675445_0 conda-forge libprotobuf 3.21.12 h3eb15da_0 conda-forge librsvg 2.54.4 h7abd40a_0 conda-forge librttopo 1.1.0 ha49c73b_12 conda-forge libsanitizer 12.2.0 h46fd767_19 conda-forge libsndfile 1.1.0 hcb278e6_1 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libspatialindex 1.9.3 h9c3ff4c_4 conda-forge libspatialite 5.0.1 h221c8f1_23 conda-forge libsqlite 3.40.0 h753d276_0 conda-forge libssh2 1.11.0 h0841786_0 conda-forge libstdcxx-ng 12.2.0 h46fd767_19 conda-forge libsystemd0 252 h2a991cd_0 conda-forge libtasn1 4.19.0 h166bdaf_0 conda-forge libthrift 0.16.0 he500d00_2 conda-forge libtiff 4.5.0 h82bc61c_0 conda-forge libtool 2.4.7 h27087fc_0 conda-forge libudev1 252 h166bdaf_0 conda-forge libunistring 0.9.10 h7f98852_0 conda-forge libutf8proc 2.8.0 h166bdaf_0 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libuv 1.44.2 h166bdaf_0 conda-forge libva 2.18.0 h0b41bf4_0 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge libvpx 1.11.0 h9c3ff4c_3 conda-forge libwebp 1.2.4 h1daa5a0_1 conda-forge libwebp-base 1.2.4 h166bdaf_0 conda-forge libxcb 1.13 h7f98852_1004 conda-forge libxkbcommon 1.0.3 he3ba5ed_0 conda-forge libxml2 2.10.3 h7463322_0 conda-forge libxslt 1.1.37 h873f0b0_0 conda-forge libzip 1.10.1 h2629f0a_3 conda-forge libzlib 1.2.13 h166bdaf_4 conda-forge linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge llvm-openmp 16.0.6 h4dfa4b3_0 conda-forge llvmlite 0.42.0 py39h174d805_1 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge logzero 1.7.0 py39hf3d152e_5 conda-forge lxml 4.9.2 py39h14694de_0 conda-forge lz4 4.3.3 py39h79d96da_0 conda-forge lz4-c 1.9.3 h9c3ff4c_1 conda-forge magma 2.7.1 ha770c72_4 conda-forge mailchecker 4.1.19 pyhd8ed1ab_0 conda-forge mapclassify 2.5.0 pyhd8ed1ab_1 conda-forge markdown 3.4.3 pyhd8ed1ab_0 conda-forge markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.1 py39hb9d737c_2 conda-forge matplotlib 3.6.2 py39hf3d152e_0 conda-forge matplotlib-base 3.6.2 py39hf9fd14e_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.4.1 pyhd8ed1ab_0 conda-forge mdurl 0.1.2 pyhd8ed1ab_0 conda-forge memory-profiler 0.61.0 pypi_0 pypi mercantile 1.2.1 pyhd8ed1ab_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge mixsea 0.1.1 pypi_0 pypi mkl 2022.2.1 h84fe81f_16997 conda-forge motuclient 1.8.8 pyhd8ed1ab_0 conda-forge mpc 1.3.1 hfe3b2da_0 conda-forge mpfr 4.2.0 hb012696_0 conda-forge mpg123 1.31.1 h27087fc_0 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge msal 1.21.0 pyhd8ed1ab_0 conda-forge msal_extensions 1.0.0 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.4 py39hf939315_1 conda-forge msrest 0.7.1 pyhd8ed1ab_0 conda-forge multidict 6.0.4 py39h72bdee0_0 conda-forge multimethod 1.9.1 pyhd8ed1ab_0 conda-forge multipledispatch 0.6.0 py_0 conda-forge munch 2.5.0 py_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mysql-common 8.0.33 hf1915f5_2 conda-forge mysql-libs 8.0.33 hca2cd23_2 conda-forge nbclassic 1.1.0 pyhd8ed1ab_0 conda-forge nbclient 0.10.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.4 pyhd8ed1ab_1 conda-forge nbformat 5.7.3 pyhd8ed1ab_0 conda-forge nccl 2.18.3.1 h12f7317_0 conda-forge ncurses 6.3 h27087fc_1 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge netcdf4 1.6.2 nompi_py39hfaa66c4_100 conda-forge nettle 3.8.1 hc379101_1 conda-forge networkx 3.0 pyhd8ed1ab_0 conda-forge nodejs 18.15.0 h8d033a5_0 conda-forge notebook 6.5.7 pyha770c72_0 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge nspr 4.35 h27087fc_0 conda-forge nss 3.82 he02c5a1_0 conda-forge numba 0.59.1 py39h615d6bd_0 conda-forge numcodecs 0.11.0 py39h227be39_1 conda-forge numpy 1.26.4 py39h474f0d3_0 conda-forge numpy_groupies 0.9.20 pyhd8ed1ab_0 conda-forge oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge odc-geo 0.3.3 pyhd8ed1ab_0 conda-forge odc-stac 0.3.5 pyhd8ed1ab_0 conda-forge openh264 2.3.1 hcb278e6_2 conda-forge openjpeg 2.5.0 hfec8fc6_2 conda-forge openpyxl 3.1.1 py39h72bdee0_0 conda-forge openssl 3.1.7 hb9d3cd8_0 conda-forge orc 1.8.2 hfdbbad2_2 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge owslib 0.29.2 pyhd8ed1ab_0 conda-forge p11-kit 0.24.1 hc5aa10d_0 conda-forge packaging 22.0 pyhd8ed1ab_0 conda-forge pandas 1.5.2 py39h4661b88_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 0.14.4 pyhd8ed1ab_0 conda-forge pango 1.50.12 hd33c08f_1 conda-forge param 1.13.0 pyh1a96a4e_0 conda-forge parcels 3.0.3 pyhea20964_0 conda-forge parquet-cpp 1.5.1 2 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge partd 1.3.0 pyhd8ed1ab_0 conda-forge pcre 8.45 h9c3ff4c_0 conda-forge pcre2 10.40 hc3806b6_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge phonenumbers 8.13.7 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.4.0 py39h2320bf1_1 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge planetary-computer 0.4.9 pyhd8ed1ab_0 conda-forge platformdirs 2.6.2 pyhd8ed1ab_0 conda-forge plotly 5.17.0 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 pyhd8ed1ab_5 conda-forge ply 3.11 py_1 conda-forge pooch 1.7.0 pyhd8ed1ab_4 conda-forge poppler 22.12.0 h091648b_1 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge portalocker 2.7.0 py39hf3d152e_0 conda-forge postgresql 15.2 h3248436_0 conda-forge pqdm 0.1.0 pyhd8ed1ab_0 conda-forge proj 9.1.1 h8ffa02c_2 conda-forge prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.36 pyha770c72_0 conda-forge proto-plus 1.23.0 pyhd8ed1ab_0 conda-forge protobuf 4.21.12 py39h227be39_0 conda-forge psutil 5.9.4 py39hb9d737c_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pulseaudio 16.1 h126f2b6_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pyarrow 10.0.1 py39h94a43e9_4_cpu conda-forge pyasn1 0.6.0 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.4.0 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pycrs 1.0.2 py_0 conda-forge pyct 0.4.6 py_0 conda-forge pyct-core 0.4.6 py_0 conda-forge pydantic 1.10.7 py39h72bdee0_0 conda-forge pydap 3.3.0 pyhd8ed1ab_0 conda-forge pygments 2.13.0 pyhd8ed1ab_0 conda-forge pyjwt 2.6.0 pyhd8ed1ab_0 conda-forge pymbolic 2022.2 pyhd8ed1ab_0 conda-forge pymongo 4.6.3 py39h3d6467e_0 conda-forge pyopenssl 22.1.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyperclip 1.8.2 pyhd8ed1ab_2 conda-forge pyproj 3.4.1 py39hf14cbfd_1 conda-forge pyqt 5.15.7 py39h18e9c17_2 conda-forge pyqt5-sip 12.11.0 py39h5a03fae_2 conda-forge pyrsistent 0.19.3 py39h72bdee0_0 conda-forge pyshp 2.1.3 pyh44b312d_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge pystac 1.10.0 pyhd8ed1ab_0 conda-forge pystac-client 0.6.1 pyhd8ed1ab_0 conda-forge pytest 7.3.1 pyhd8ed1ab_0 conda-forge python 3.9.16 h2782a2a_0_cpython conda-forge python-benedict 0.26.0 pyhd8ed1ab_0 conda-forge python-box 7.2.0 py39hd3abc70_0 conda-forge python-cmr 0.11.0 pyhd8ed1ab_0 conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.3 pyhd8ed1ab_0 conda-forge python-fsutil 0.10.0 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-magic 0.4.27 py39hf3d152e_3 conda-forge python-slugify 6.1.2 pyhd8ed1ab_0 conda-forge python_abi 3.9 3_cp39 conda-forge pytools 2022.1.14 pyhd8ed1ab_0 conda-forge pytz 2022.7 pyhd8ed1ab_0 conda-forge pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyviz_comms 2.2.1 pyhd8ed1ab_1 conda-forge pyyaml 6.0 py39hb9d737c_5 conda-forge pyzmq 24.0.1 py39headdf64_1 conda-forge qt-main 5.15.6 hf6cd601_5 conda-forge rasterio 1.3.6 py39h09b1985_0 conda-forge ratelim 0.1.6 py_2 conda-forge re2 2022.06.01 h27087fc_1 conda-forge readline 8.1.2 h0f457ee_0 conda-forge regex 2023.6.3 py39hd1e30aa_0 conda-forge requests 2.28.1 pyhd8ed1ab_1 conda-forge requests-oauthlib 1.3.1 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 rioxarray 0.15.0 pyhd8ed1ab_0 conda-forge roaring-landmask 0.7.1 py39h1add4da_3 conda-forge rsa 4.9 pyhd8ed1ab_0 conda-forge rtree 1.0.1 py39hb102c33_1 conda-forge ruamel.yaml 0.18.6 py39hd1e30aa_0 conda-forge ruamel.yaml.clib 0.2.8 py39hd1e30aa_0 conda-forge s2n 1.3.30 h3358134_0 conda-forge s3fs 2023.12.2 pyhd8ed1ab_0 conda-forge s3transfer 0.10.1 pyhd8ed1ab_0 conda-forge sankee 0.2.5 pyhd8ed1ab_0 conda-forge scikit-learn 1.2.0 py39h86b2a18_0 conda-forge scipy 1.10.1 py39h6183b62_3 conda-forge scooby 0.10.0 pyhd8ed1ab_0 conda-forge seawater 3.3.4 py_1 conda-forge semver 3.0.2 pyhd8ed1ab_0 conda-forge send2trash 1.8.3 pyh0d859eb_0 conda-forge setuptools 69.5.1 pyhd8ed1ab_0 conda-forge shapely 1.8.5 py39h76a96b7_2 conda-forge sip 6.7.5 py39h5a03fae_0 conda-forge six 1.15.0 pyh9f0ad1d_0 conda-forge sleef 3.5.1 h9b69904_2 conda-forge snappy 1.1.10 h9fff704_0 conda-forge sniffio 1.3.1 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.9 pyhd8ed1ab_0 conda-forge spectate 1.0.1 pyhd8ed1ab_0 conda-forge sqlite 3.40.0 h4ff8645_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge streamz 0.6.4 pyh6c4a22f_0 conda-forge support-developer 1.0.5 pypi_0 pypi svt-av1 1.4.1 hcb278e6_0 conda-forge sympy 1.12 pypyh9d50eac_103 conda-forge sysroot_linux-64 2.12 he073ed8_15 conda-forge tabulate 0.9.0 pyhd8ed1ab_1 conda-forge tbb 2021.9.0 hf52228f_0 conda-forge tblib 1.7.0 pyhd8ed1ab_0 conda-forge tenacity 8.2.3 pyhd8ed1ab_0 conda-forge terminado 0.18.1 pyh0d859eb_0 conda-forge text-unidecode 1.3 py_0 conda-forge threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tiledb 2.13.2 hd532e3d_0 conda-forge tinycss2 1.3.0 pyhd8ed1ab_0 conda-forge tinynetrc 1.3.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.2 py39hb9d737c_1 conda-forge tqdm 4.66.2 pyhd8ed1ab_0 conda-forge traitlets 5.8.0 pyhd8ed1ab_0 conda-forge traittypes 0.2.1 pyh9f0ad1d_2 conda-forge trajan 0.3.3 pyhd8ed1ab_1 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 2023b h0b41bf4_0 conda-forge tzdata 2022g h191b570_0 conda-forge tzlocal 5.0.1 py39hf3d152e_0 conda-forge uc-micro-py 1.0.3 pyhd8ed1ab_0 conda-forge unicodedata2 15.0.0 py39hb9d737c_0 conda-forge unidecode 1.3.6 pyhd8ed1ab_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge uritemplate 4.1.1 pyhd8ed1ab_0 conda-forge urllib3 1.26.13 pyhd8ed1ab_0 conda-forge watchdog 4.0.0 py39hf3d152e_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webcolors 24.6.0 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 py_1 conda-forge webob 1.8.7 pyhd8ed1ab_0 conda-forge websocket-client 1.8.0 pyhd8ed1ab_0 conda-forge wget 3.2 pypi_0 pypi wheel 0.38.4 pyhd8ed1ab_0 conda-forge whitebox 2.3.4 pyhd8ed1ab_0 conda-forge whiteboxgui 2.3.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.5 pyhd8ed1ab_0 conda-forge wrapt 1.14.1 py39hb9d737c_1 conda-forge x264 1!164.3095 h166bdaf_2 conda-forge x265 3.5 h924138e_3 conda-forge xarray 2024.3.0 pyhd8ed1ab_0 conda-forge xarray_leaflet 0.2.3 pyhd8ed1ab_0 conda-forge xcb-util 0.4.0 h166bdaf_0 conda-forge xcb-util-image 0.4.0 h166bdaf_0 conda-forge xcb-util-keysyms 0.4.0 h166bdaf_0 conda-forge xcb-util-renderutil 0.3.9 h166bdaf_0 conda-forge xcb-util-wm 0.4.1 h166bdaf_0 conda-forge xee 0.0.14 pyhd8ed1ab_0 conda-forge xerces-c 3.2.4 h55805fa_1 conda-forge xgcm 0.8.1 pyhd8ed1ab_0 conda-forge xhistogram 0.3.2 pyhd8ed1ab_0 conda-forge xlrd 2.0.1 pyhd8ed1ab_3 conda-forge xmltodict 0.13.0 pyhd8ed1ab_0 conda-forge xmovie 0.3.1 pyhd8ed1ab_0 conda-forge xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.8.4 h0b41bf4_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h0b41bf4_2 conda-forge xorg-libxfixes 5.0.3 h7f98852_1004 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-xproto 7.0.31 h7f98852_1007 conda-forge xrft 1.0.1 pyhd8ed1ab_0 conda-forge xyzservices 2023.2.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge yarl 1.8.2 py39hb9d737c_0 conda-forge zarr 2.14.2 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h9c3ff4c_1 conda-forge zict 2.2.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 h6239696_4 conda-forge ```

Description of expected behavior and the observed behavior

I am just trying to import hvplot

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

import hvplot

Stack traceback and/or browser JavaScript console output

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[1], line 1
----> 1 import hvplot

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/hvplot/__init__.py:70](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/hvplot/__init__.py#line=69)
     66 import holoviews as _hv
     68 from holoviews import Store, render  # noqa
---> 70 from .converter import HoloViewsConverter
     71 from .interactive import Interactive
     72 from .ui import explorer  # noqa

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/hvplot/converter.py:45](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/hvplot/converter.py#line=44)
     17 from holoviews.core.util import max_range
     18 from holoviews.element import (
     19     Curve,
     20     Scatter,
   (...)
     43     Segments,
     44 )
---> 45 from holoviews.plotting.bokeh import OverlayPlot, colormap_generator
     46 from holoviews.plotting.util import process_cmap
     47 from holoviews.operation import histogram, apply_when

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/__init__.py:34](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/__init__.py#line=33)
     32 from .graphs import GraphPlot, NodePlot, TriMeshPlot, ChordPlot
     33 from .heatmap import HeatMapPlot, RadialHeatMapPlot
---> 34 from .hex_tiles import HexTilesPlot
     35 from .links import LinkCallback # noqa (API import)
     36 from .path import PathPlot, PolygonPlot, ContourPlot

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/hex_tiles.py:18](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/hex_tiles.py#line=17)
     14 from .selection import BokehOverlaySelectionDisplay
     15 from .styles import base_properties, line_properties, fill_properties
---> 18 class hex_binning(Operation):
     19     """
     20     Applies hex binning by computing aggregates on a hexagonal grid.
     21 
     22     Should not be user facing as the returned element is not directly
     23     useable.
     24     """
     26     aggregator = param.ClassSelector(
     27         default=np.size, class_=(types.FunctionType, tuple), doc="""
     28       Aggregation function or dimension transform used to compute bin
     29       values. Defaults to np.size to count the number of values
     30       in each bin.""")

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/hex_tiles.py:26](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/holoviews/plotting/bokeh/hex_tiles.py#line=25), in hex_binning()
     18 class hex_binning(Operation):
     19     """
     20     Applies hex binning by computing aggregates on a hexagonal grid.
     21 
     22     Should not be user facing as the returned element is not directly
     23     useable.
     24     """
---> 26     aggregator = param.ClassSelector(
     27         default=np.size, class_=(types.FunctionType, tuple), doc="""
     28       Aggregation function or dimension transform used to compute bin
     29       values. Defaults to np.size to count the number of values
     30       in each bin.""")
     32     gridsize = param.ClassSelector(default=50, class_=(int, tuple))
     34     invert_axes = param.Boolean(default=False)

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py:1367](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py#line=1366), in ClassSelector.__init__(self, class_, default, instantiate, is_instance, **params)
   1365 self.is_instance = is_instance
   1366 super(ClassSelector,self).__init__(default=default,instantiate=instantiate,**params)
-> 1367 self._validate(default)

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py:1371](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py#line=1370), in ClassSelector._validate(self, val)
   1369 def _validate(self, val):
   1370     super(ClassSelector, self)._validate(val)
-> 1371     self._validate_class_(val, self.class_, self.is_instance)

File [~/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py:1383](http://localhost:9999/lab/tree/projects/active/hvplot/doc/reference/xarray/miniforge3/envs/coringa/lib/python3.9/site-packages/param/__init__.py#line=1382), in ClassSelector._validate_class_(self, val, class_, is_instance)
   1381 if is_instance:
   1382     if not (isinstance(val, class_)):
-> 1383         raise ValueError(
   1384             "%s parameter %r value must be an instance of %s, not %r." %
   1385             (param_cls, self.name, class_name, val))
   1386 else:
   1387     if not (issubclass(val, class_)):

ValueError: ClassSelector parameter None value must be an instance of (function, tuple), not <function size at 0x7ca734f7ee70>.

Screenshots or screencasts of the bug in action

hoxbro commented 1 week ago

Try upgrading holoviews to 1.19.1

iuryt commented 1 week ago

It worked. Now cartopy is killing the kernel but it's no longer an hvplot issue.