Skip to content

mpl widgets: LassoSelector/RectangleSelector #12

Open

Description

@maartenbreddels

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

Activity

  1. tacaswell commented on Aug 26, 2017

    @tacaswell
    Member

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

  2. modified the milestone: 0.1 on Aug 26, 2017
  3. modified the milestones: 0.1, 0.2 on Nov 20, 2017
  4. ianhi commented on Dec 26, 2019

    @ianhi
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions