10000 Merge pull request #9759 from mc10/patch-1 · matplotlib/matplotlib@0827434 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0827434

Browse files
authored
Merge pull request #9759 from mc10/patch-1
blocking_input: Fix "manager" attr check
2 parents 477c1dc + 0501ed7 commit 0827434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/blocking_input.py

Lines 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