Skip to content

Commit 375c3f6

Browse files
MAINT: address review comments for #13795
1 parent 1872439 commit 375c3f6

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/changes/dev/13795.newfeature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changes/dev/13795.other.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Made :meth:`evoked.plot() <mne.Evoked.plot>` instantiate ``MNELineFigure`` when it creates its own figure, aligning this path with the ongoing 2D plotting figure-class refactor discussed in :gh:`7751`, by `Pragnya Khandelwal`_.

mne/viz/evoked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def _plot_evoked(
452452

453453
fig = None
454454
if axes is None:
455-
if plot_type == "butterfly" and hasattr(evoked, "get_channel_types"):
455+
if plot_type == "butterfly":
456456
from ._mpl_figure import _line_figure
457457

458458
fig, axes = _line_figure(

0 commit comments

Comments
 (0)