Skip to content

Commit 9adf432

Browse files
committed
MNT: use explict None return
1 parent a57b837 commit 9adf432

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mpl_gui/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ def close(self, val):
291291
292292
"""
293293
if val == "all":
294-
return self.close_all()
294+
self.close_all()
295+
return
295296
# or do we want to close _all_ of the figures with a given label / number?
296297
if isinstance(val, str):
297298
fig = self.by_label[val]

0 commit comments

Comments
 (0)