From 3b379b0bee4c9ac81ca91d5a002f35dd7ddf596e Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 20 Apr 2026 14:36:54 +0200 Subject: [PATCH] Fix versionadded for annotation_colors --- mne/viz/epochs.py | 2 +- mne/viz/raw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mne/viz/epochs.py b/mne/viz/epochs.py index 24c9ac9b39f..0154f357588 100644 --- a/mne/viz/epochs.py +++ b/mne/viz/epochs.py @@ -874,7 +874,7 @@ def plot_epochs( specification. Keys that do not match any annotation description in the data will trigger a warning. If ``None`` (default), automatic colors are used. - .. versionadded:: 1.13 + .. versionadded:: 1.12.1 Returns ------- diff --git a/mne/viz/raw.py b/mne/viz/raw.py index dbec2c9888b..5e6febc550c 100644 --- a/mne/viz/raw.py +++ b/mne/viz/raw.py @@ -119,7 +119,7 @@ def plot_raw( specification. Keys that do not match any annotation description in the data will trigger a warning. If ``None`` (default), automatic colors are used. - .. versionadded:: 1.13 + .. versionadded:: 1.12.1 annotation_regex : str A regex pattern applied to each annotation's label. Matching labels remain visible, non-matching labels are hidden.