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

Lasso select does not work on datashader #5055

Closed
molindoudou opened this issue Aug 6, 2021 · 7 comments
Closed

Lasso select does not work on datashader #5055

molindoudou opened this issue Aug 6, 2021 · 7 comments

Comments

@molindoudou
Copy link

example from http://holoviews.org/user_guide/Linked_Brushing.html
GIF 2021-8-6 14-54-06

@philippjfr
Copy link
Member

Are you referring to the website? Because as the warning on the right says:

This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

@peterroelants
Copy link
Contributor

peterroelants commented Aug 6, 2021

Regardless of website or not, there is an issue with lasso-select on data shaded NdOverlays: #5041

Although box selection worked in this case

@molindoudou
Copy link
Author

molindoudou commented Aug 9, 2021

Are you referring to the website? Because as the warning on the right says:

This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

I do work on the Jupyter notebook. and i found out that lasso select does work but work too too too slowly.
0809

@philippjfr
Copy link
Member

I do work on the Jupyter notebook. and i found out that lasso select does work but work too too too slowly.

I've pushed an optimization to the lasso select here: #5061

There's also a major speed difference between spatialpandas and geopandas, so I'd recommend installing spatialpandas if you haven't already. Better yet, if you have an Nvidia GPU you could try cuDF (with cuspatial installed). In the absence of that polygon testing on 10s or 100s of thousands of points will always be somewhat expensive.

@molindoudou
Copy link
Author

I do work on the Jupyter notebook. and i found out that lasso select does work but work too too too slowly.

I've pushed an optimization to the lasso select here: #5061

There's also a major speed difference between spatialpandas and geopandas, so I'd recommend installing spatialpandas if you haven't already. Better yet, if you have an Nvidia GPU you could try cuDF (with cuspatial installed). In the absence of that polygon testing on 10s or 100s of thousands of points will always be somewhat expensive.

it work well after installing spatialpandas,thanks a lots!!!!!!
0810

@philippjfr
Copy link
Member

Will close this issue as since we also have #5041

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants