From f252d8f531c981bd6217df0c311510c98eaaabb7 Mon Sep 17 00:00:00 2001 From: Bhagyasri Uddandam Date: Tue, 31 Mar 2026 07:10:00 -0400 Subject: [PATCH] DOC: Fix type annotation for order parameter in Epochs.plot Changes the documented type for the order parameter from strings to integers to match actual runtime behavior. Fixes #13638. --- mne/viz/epochs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne/viz/epochs.py b/mne/viz/epochs.py index c691915f132..83711ac4601 100644 --- a/mne/viz/epochs.py +++ b/mne/viz/epochs.py @@ -800,7 +800,7 @@ def plot_epochs( The new equivalent is ``events=False``. %(event_color)s Defaults to ``None``. - order : array of str | None + order : array of integer | None Order in which to plot channel types. .. versionadded:: 0.18.0