Get selection from hvplot with Cartopy overlay

Hello,

I’m trying to access selected points in a data frame of the format:

I’d then like to get a selection from that. I roughly followed this:

However, that didn’t seem to work. Here’s a minimal code:


scatter = df.hvplot.points(x="Longitude", y="Latitude", projection=ccrs.PlateCarree(), coastline=True, color="red", tools=["lasso_select", "poly_select"])
sel = hv.streams.Selection1D(source=scatter)
scatter

Which results in this:

When I then use the lasso and try to select some points, the selection remains empty:

sel
Selection1D(index=[])

Any hints would be appreciated!!