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

Skip to content

Commit f897de6

Browse files
authored
Merge pull request #21791 from anntzer/bi
Refix check for manager presence in deprecated blocking_input.
2 parents 425cc77 + 0b109e4 commit f897de6

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)