mne_denoise.viz.get_series_color#

mne_denoise.viz.get_series_color(index, colors=None)[source]#

Return a color from the shared spectral series palette.

Parameters:
indexint

Series index in plotting order.

colorssequence of str | None

Optional palette override. If provided, this sequence is cycled instead of SERIES_COLORS.

Returns:
str

Hex color string.