From 9cc6d912c09f17b5be3dc04e51f49c44c3bc968b Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Fri, 15 Sep 2023 13:05:34 -0400 Subject: [PATCH] FIX: Refs --- mne/viz/evoked.py | 4 ++-- mne/viz/misc.py | 2 +- mne/viz/topomap.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mne/viz/evoked.py b/mne/viz/evoked.py index f97f9c1898d..c222400f0e3 100644 --- a/mne/viz/evoked.py +++ b/mne/viz/evoked.py @@ -2654,8 +2654,8 @@ def plot_compare_evokeds( :class:`dict` of :class:`ints ` or :class:`floats ` indicating steps or percentiles (respectively) along the colormap. If ``cmap`` is ``None``, list elements or dict values of ``colors`` must - be :class:`ints ` or valid :doc:`matplotlib colors - `; lists are cycled through + be :class:`ints ` or valid :ref:`matplotlib colors + `; lists are cycled through sequentially, while dicts must have keys matching the keys or conditions of an ``evokeds`` dict (see Notes for details). If ``None``, the current diff --git a/mne/viz/misc.py b/mne/viz/misc.py index ecf9acd069f..d2c1a4242dc 100644 --- a/mne/viz/misc.py +++ b/mne/viz/misc.py @@ -783,7 +783,7 @@ def plot_events( Dictionary of event_id integers as keys and colors as values. If None, colors are automatically drawn from a default list (cycled through if number of events longer than list of default colors). Color can be any - valid :doc:`matplotlib color `. + valid :ref:`matplotlib color `. event_id : dict | None Dictionary of event labels (e.g. 'aud_l') as keys and their associated event_id values. Labels are used to plot a legend. If None, no legend diff --git a/mne/viz/topomap.py b/mne/viz/topomap.py index 6f15848abd1..ec518ec37f0 100644 --- a/mne/viz/topomap.py +++ b/mne/viz/topomap.py @@ -2066,8 +2066,8 @@ def plot_evoked_topomap( the same call as the colorbar. Note also that the colorbar will not be resized automatically when ``axes`` are provided; use Matplotlib's :meth:`axes.set_position() ` method or - :doc:`gridspec ` - interface to adjust the colorbar size yourself. + :ref:`gridspec ` interface to adjust the colorbar + size yourself. When ``time=="interactive"``, the figure will publish and subscribe to the following UI events: