From 8419ca04f7f85e5861128593fa92462d0ccbfb27 Mon Sep 17 00:00:00 2001 From: Mathieu Scheltienne Date: Mon, 29 Jan 2024 19:24:17 +0100 Subject: [PATCH] Fix sphinx roles and parenthesis (#12385) --- doc/changes/devel/12326.other.rst | 2 +- tutorials/preprocessing/15_handling_bad_channels.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changes/devel/12326.other.rst b/doc/changes/devel/12326.other.rst index b8f2966bbf9..f0bd6a377d6 100644 --- a/doc/changes/devel/12326.other.rst +++ b/doc/changes/devel/12326.other.rst @@ -1 +1 @@ -Updated the text in the preprocessing tutorial to use :class:`mne.io.Raw.pick()` instead of the legacy :class:`mne.io.Raw.pick_types()`, by :newcontrib:`btkcodedev`. +Updated the text in the preprocessing tutorial to use :meth:`mne.io.Raw.pick` instead of the legacy :meth:`mne.io.Raw.pick_types`, by :newcontrib:`btkcodedev`. diff --git a/tutorials/preprocessing/15_handling_bad_channels.py b/tutorials/preprocessing/15_handling_bad_channels.py index 06e9ffd6e53..7ddc36af026 100644 --- a/tutorials/preprocessing/15_handling_bad_channels.py +++ b/tutorials/preprocessing/15_handling_bad_channels.py @@ -238,7 +238,7 @@ fig.suptitle(title, size="xx-large", weight="bold") # %% -# Note that the method :meth:`~mne.io.Raw.pick()` default +# Note that the method :meth:`~mne.io.Raw.pick` default # arguments includes ``exclude=()`` which ensures that bad # channels are not # automatically dropped from the selection. Here is the corresponding example