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 47602d5

Browse filesBrowse files
efiringMeeseeksDev[bot]
authored andcommitted
Backport PR #9759: blocking_input: Fix "manager" attr check
1 parent 66967ab commit 47602d5
Copy full SHA for 47602d5

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.