Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65f9b87

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #21791: Refix check for manager presence in deprecated blocking_input.
1 parent c0bb31e commit 65f9b87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)