Skip to content

Commit 0b109e4

Browse files
committed
Refix check for manager presence in deprecated blocking_input.
The whole module has been deprecated as the library is now using _blocking_input, which does not have the same problem, but it still seems better to fix this typo asap.
1 parent 728f0e4 commit 0b109e4

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
@@ -83,7 +83,7 @@ def __call__(self, n=1, timeout=30):
8383
self.n = n
8484
self.events = []
8585

86-
if self.figure.canvas.manager:
86+
if self.fig.canvas.manager:
8787
# Ensure that the figure is shown, if we are managing it.
8888
self.fig.show()
8989
# Connect the events to the on_event function call.

0 commit comments

Comments
 (0)