Skip to content

Polygon selector with useblit=True - polygon dissapears #17487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Stassels opened this issue May 22, 2020 · 3 comments
Closed

Polygon selector with useblit=True - polygon dissapears #17487

Stassels opened this issue May 22, 2020 · 3 comments

Comments

@Stassels
Copy link

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
@QuLogic
Copy link
Member

QuLogic commented May 22, 2020

Possibly somewhat related to #17476, @anntzer?

@anntzer
Copy link
Contributor

anntzer commented May 22, 2020

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.

@QuLogic
Copy link
Member

QuLogic commented Oct 2, 2020

This is also fixed by #17480.

@QuLogic QuLogic closed this as completed Oct 2, 2020
@QuLogic QuLogic added this to the v3.4.0 milestone Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants