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

mpl widgets: LassoSelector/RectangleSelector #12

Open
maartenbreddels opened this issue Apr 13, 2017 · 2 comments
Open

mpl widgets: LassoSelector/RectangleSelector #12

maartenbreddels opened this issue Apr 13, 2017 · 2 comments
Milestone

Comments

@maartenbreddels
Copy link

Hi,

I build a backend for this package in vaex, so vaex is showing many rows/particles in this matplotlib backend. However, I'd like to select things using the lasso or rectangular selector, the rectangular works ok, it draws sth on the screen (see also screenshot). To enabled it I used a ipywidget togglebuttons, but it doesn't play nice with the other buttons (for instance, how would I switch between zoom rectangle and the rectangleselector?). And the lasso selector doesn't draw anything on the screen. Would be really nice to have this, it would be the first time you could do a lasso selection in the notebook to do a freehand selection for ~1 billion rows.

screen shot 2017-04-13 at 21 22 31

@tacaswell
Copy link
Member

I suspect this is because draw_idle is not working correctly for the widget backend.

@tacaswell tacaswell modified the milestone: 0.1 Aug 26, 2017
@blink1073 blink1073 modified the milestones: 0.1, 0.2 Nov 20, 2017
@ianhi
Copy link
Collaborator

ianhi commented Dec 26, 2019

The issue of the Lasso selector not drawing has been resolved by matplotlib issue 15852. Until that is released you can do: LassoSelector(..., useblit=False) and it will draw the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants