Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resampling_when breaks with dynspread #1414

Open
ahuang11 opened this issue Sep 12, 2024 · 0 comments
Open

resampling_when breaks with dynspread #1414

ahuang11 opened this issue Sep 12, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@ahuang11
Copy link
Collaborator

import numpy as np
df = pd.DataFrame({
    # random
    "longitude": np.random.uniform(-180, 180, 1000),
    "latitude": np.random.uniform(-90, 90, 1000),
})

df.hvplot.points(
    "longitude",
    "latitude",
    rasterize=True,
    tiles="CartoDark",
    geo=True,
    resample_when=300,
    cmap="fire",
    dynspread=True
)

ValueError: spreading can only be applied to Image or RGB Elements. Received object of type <class 'geoviews.element.geo.Points'>

@ahuang11 ahuang11 added TRIAGE type: bug Something isn't working and removed TRIAGE labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant