mne.viz.ui_events.Contours#

class mne.viz.ui_events.Contours(kind: str, contours: list[str], line_width: float | None)[source]#

Indicates that the user has changed the contour lines.

Parameters:
kindstr

The kind of contours lines being changed. The Notes section of the drawing routine publishing this event should mention the possible kinds.

contourslist of float

The new values at which contour lines need to be drawn.

line_widthfloat | None

The line_width with which to draw the contour lines. Can be None to indicate to keep using the current line_width.

Attributes:
namestr

The name of the event, which is the class name in snake case.

sourcematplotlib.figure.Figure | Figure3D

The figure that published the event.

kindstr

The kind of contours lines being changed. The Notes section of the drawing routine publishing this event should mention the possible kinds.

contourslist of float

The new values at which contour lines need to be drawn.

line_widthfloat | None

The line_width with which to draw the contour lines. Can be None to indicate to keep using the current line_width.

property name#

The name of the event, which is the class name in snake case.