Skip to content

Commit 4037ead

Browse files
authored
Fix signature of some more _close() methods [circle deploy] (mne-tools#13087)
1 parent 631ddb3 commit 4037ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne/viz/_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def _redraw(self, update_data=True, annotations=False):
424424
if annotations and not self.mne.is_epochs:
425425
self._draw_annotations()
426426

427-
def _close(self, event):
427+
def _close(self, event=None):
428428
"""Handle close events (via keypress or window [x])."""
429429
from matplotlib.pyplot import close
430430

0 commit comments

Comments
 (0)