From 23573ec993050dc01b1551f344930788a04903f6 Mon Sep 17 00:00:00 2001 From: imama-kainat Date: Sat, 1 Mar 2025 13:20:31 +0500 Subject: [PATCH] DOC: Fix apply_function docstring for Epochs #13118 eror --- mne/utils/docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne/utils/docs.py b/mne/utils/docs.py index c1d4fb4595a..ac5ffc0c7fa 100644 --- a/mne/utils/docs.py +++ b/mne/utils/docs.py @@ -1861,7 +1861,7 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75): additional argument(s) to your function definition. """ docdict["fun_applyfun"] = applyfun_fun_base.format( - " if ``channel_wise=True`` and ``(len(picks), n_times)`` otherwise" + " if ``channel_wise=True`` then a 3D array of shape ``(n_epochs, len(picks), n_times)`` is passed, otherwise a 3D array of shape ``(n_epochs, n_channels, n_times)`` is passed" ) docdict["fun_applyfun_evoked"] = applyfun_fun_base.format( " because it will apply channel-wise"