Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

matplotlib selector widget is not visible with blitting and wxpython #11425

Copy link
Copy link
Closed as not planned
@tavin

Description

@tavin
Issue body actions

Bug report

The following code example uses the RectangleSelector widget, so that we should see a continuously updated rectangular patch over the plot. However, nothing can be seen, unless we set useblit=False.

Code for reproduction

#!/usr/bin/env python3

import matplotlib
from matplotlib.widgets import RectangleSelector

if __name__ == '__main__':
    matplotlib.use('wxagg')
    import matplotlib.pyplot as plt
    figure = plt.figure()
    rect = RectangleSelector(figure.gca(), (lambda e1, e2: print(e1, e2)), useblit=True)
    plt.show()

Matplotlib version

  • Operating system: ubuntu 17.10
  • Matplotlib version: 2.2.2
  • Matplotlib backend: wxagg
  • Python version: 3.6.3
  • Other libraries: wxpython 4.0.1

Everything was installed from virtualenv + pip.

Metadata

Metadata

Labels

GUI: wxstatus: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.