Skip to content

RectangleSelector fails to clear itself after being toggled inactive and then back to active. #17476

Closed

Description

@anntzer

Bug report

Bug summary

Run examples/widgets/rectangle_selector.py. Draw a rectangle. Draw another rectangle: the first one is cleared out. Toggle the selector inactive with "Q". Toggle it back to active with "A". Draw yet another rectangle: the second rectangle doesn't get cleared out.

Expected outcome

Older rectangles get cleared out regardless of whether the widget was momentarily toggled inactive previously.

Matplotlib version

  • Operating system: archlinux
  • Matplotlib version: master
  • Matplotlib backend (print(matplotlib.get_backend())): any
  • Python version: 38
  • Jupyter version (if applicable):
  • Other libraries:

Activity

  1. QuLogic commented on Oct 2, 2020

    @QuLogic
    Member

    Hmm, Q causes the window to close now...

  2. anntzer commented on Oct 2, 2020

    @anntzer
    ContributorAuthor

    that was fixed in #17475.

  3. added this to the v3.4.0 milestone on Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions