Skip to content

Polygon selector with useblit=True - polygon disappears #17487

Closed

Description

@Stassels

When I use this example: https://matplotlib.org/3.1.3/gallery/widgets/polygon_selector_demo.html
and want to use blitting (see line below), the selection polygon dissapears when polygon is finalized.

self.poly = PolygonSelector(ax, self.onselect, useblit=True)

**Matplotlib version: 3.1.2 **

  • Operating system: Ubuntu 16.04
  • Matplotlib version: 3.1.2 (from pipy.org)
  • Matplotlib backend (`Qt5Agg'):
  • Python version: 3.7.6
  • Other libraries: PySide2 - 5.14.2

Activity

  1. QuLogic commented on May 22, 2020

    @QuLogic
    Member

    Possibly somewhat related to #17476, @anntzer?

  2. anntzer commented on May 22, 2020

    @anntzer
    Contributor

    Probably the same kind of problem, but active is not getting toggled and it's not immediately obvious to me where the background update is missing.

  3. QuLogic commented on Oct 2, 2020

    @QuLogic
    Member

    This is also fixed by #17480.

  4. added this to the v3.4.0 milestone on Oct 2, 2020
  5. changed the title [-]Polygon selector with useblit=True - polygon dissapears[/-] [+]Polygon selector with useblit=True - polygon disappears[/+] on Jun 23, 2025
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