Skip to content

RectangleSelector creates not wanted lines in axes #5635

@Acanthostega

Description

@Acanthostega

Hi everyone,

Creating a RectangleSelector adds unwanted lines in the axes. Before 1.5 version, I was not seeing this I think, but for now I can't try with an older version.

To reproduce, simply take the example provided in the documentation with RectangleSelector with the qt backend to use the figure options panel. Before the creation of the RectangleSelector, it shows one curve, and after the creation of toggle_selector.RS, four new lines have appeared. Indeed, they appeared in the lines attribute of the ax.

It should not be an expected behavior (I think) since some applications may rely on this for making line selections, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions