Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66967ab + 47602d5 commit 3aa2436Copy full SHA for 3aa2436
1 file changed
lib/matplotlib/blocking_input.py
@@ -101,7 +101,7 @@ def __call__(self, n=1, timeout=30):
101
self.events = []
102
self.callbacks = []
103
104
- if hasattr(self.fig, "manager"):
+ if hasattr(self.fig.canvas, "manager"):
105
# Ensure that the figure is shown, if we are managing it.
106
self.fig.show()
107
0 commit comments