spatialpandas
spatialpandas copied to clipboard
error running Spatialpandas hvplot example
I had some issues running the exmaple using spatialpandas and hvplot to plot million geometries. These are the codes that i am running;
spd_world = spd.GeoDataFrame(world)
spd_world.hvplot(datashade=True, project=True, aggregator=ds.count_cat('continent'), color_key='Category10')
and the error i got is:
WARNING:param.dynamic_operation: Callable raised "TypeError("Cannot interpret 'MultiPolygonDtype(float64)' as a data type")".
TypeError: Cannot interpret 'MultiPolygonDtype(float64)' as a data type
my packages are: geopandas 0.8.1 datashader 0.12.0 holoviews 1.14.1 spatialpandas 0.3.6 hvplot 0.7.0
I am not sure how to resolve this issue. any suggestions please?
just tested with older geopandas version 0.8.0 and it works ok
Same issue....different versions of packages geopandas 0.9.0 geopandas-base 0.9.0 datashader 0.13.0 holoviews 1.14.6 spatialpandas 0.4.0 hvplot 0.7.3