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

Commit 3aa2436

Browse filesBrowse files
authored
Merge pull request #9762 from matplotlib/auto-backport-of-pr-9759
Backport PR #9759 on branch v2.1.x
2 parents 66967ab + 47602d5 commit 3aa2436
Copy full SHA for 3aa2436

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/blocking_input.py

Copy file name to clipboardExpand all lines: lib/matplotlib/blocking_input.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __call__(self, n=1, timeout=30):
101101
self.events = []
102102
self.callbacks = []
103103

104-
if hasattr(self.fig, "manager"):
104+
if hasattr(self.fig.canvas, "manager"):
105105
# Ensure that the figure is shown, if we are managing it.
106106
self.fig.show()
107107

0 commit comments

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