mne.viz.ui_events.ColormapRange#
- class mne.viz.ui_events.ColormapRange(kind: str, ch_type: str | None = None, fmin: float | None = None, fmid: float | None = None, fmax: float | None = None, alpha: bool | None = None, cmap: Colormap | str | None = None)[source]#
Indicates that the user has updated the bounds of the colormap.
- Parameters:
- kind
str Kind of colormap being updated. The Notes section of the drawing routine publishing this event should mention the possible kinds.
- ch_type
str Type of sensor the data originates from.
- fmin
float Minimum value in colormap (uses real fmin if None).
- fmid
float Intermediate value in colormap (fmid between fmin and fmax if None).
- fmax
float Maximum value in colormap (uses real max if None).
- alpha
floatin [0, 1] Alpha level to control opacity.
- cmap
str The colormap to use. Either string or matplotlib.colors.Colormap instance.
- kind
- Attributes:
- kind
str Kind of colormap being updated. The Notes section of the drawing routine publishing this event should mention the possible kinds.
- ch_type
str Type of sensor the data originates from.
- unit
str The unit of the values.
namestrThe name of the event, which is the class name in snake case.
- source
matplotlib.figure.Figure|Figure3D The figure that published the event.
- fmin
float Minimum value in colormap (uses real fmin if None).
- fmid
float Intermediate value in colormap (fmid between fmin and fmax if None).
- fmax
float Maximum value in colormap (uses real max if None).
- alpha
floatin [0, 1] Alpha level to control opacity.
- cmap
str The colormap to use. Either string or matplotlib.colors.Colormap instance.
- kind
- property name#
The name of the event, which is the class name in snake case.