Skip to content

error running Spatialpandas hvplot example #58

@KarenChen9999

Description

@KarenChen9999

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions