8000 RectangleSelector fails to clear itself after being toggled inactive and then back to active. · Issue #17476 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
RectangleSelector fails to clear itself after being toggled inactive and then back to active. #17476
Clos 7EFF ed
@anntzer

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0