Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Oct 28, 2020
1 parent 7a03a1c commit 7743e89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mne/viz/_figure.py
Expand Up @@ -655,9 +655,7 @@ def _keypress(self, event):
self.canvas.manager.full_screen_toggle()
elif key == 'a': # annotation mode
self._toggle_annotation_fig()
elif key == 'b': # butterfly mode
if inst_type == 'ica':
return
elif key == 'b' and inst_type != 'ica': # butterfly mode
self._toggle_butterfly()
elif key == 'd': # DC shift
self.mne.remove_dc = not self.mne.remove_dc
Expand Down

0 comments on commit 7743e89

Please sign in to comment.