mne_denoise.viz.get_color#

mne_denoise.viz.get_color(key, fallback=None)[source]#

Return a color from the shared viz palettes by key.

Parameters:
keystr

A key into COLORS or METHOD_COLORS.

fallbackstr | None

Returned if key is not found in any shared palette. Defaults to COLORS["dark"].

Returns:
str

Hex color string.