Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions mne/viz/evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -1797,7 +1797,7 @@ def plot_evoked_joint(
times="peaks",
title="",
picks=None,
exclude=None,
exclude="bads",
show=True,
ts_args=None,
topomap_args=None,
Expand All @@ -1824,9 +1824,10 @@ def plot_evoked_joint(
axes are passed make sure to set ``title=None``, otherwise some of your
axes may be removed during placement of the title axis.
%(picks_all)s
exclude : None | list of str | 'bads'
exclude : list of str | 'bads'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we change this to something like exclude : empty list | list of str | 'bads'?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so empty list is covered by list of str well enough I think

Channels names to exclude from being shown. If ``'bads'``, the
bad channels are excluded. Defaults to ``None``.
bad channels are excluded. If an empty list, no channels are
excluded. Defaults to ``"bads"``.
show : bool
Show figure if ``True``. Defaults to ``True``.
ts_args : None | dict
Expand Down