dips.ContourOptionsVal module#

Generated wrapper for ContourOptions protobuf message.

class dips.ContourOptionsVal.ContourOptionsVal(custom_range: CustomRangeVal | None = None, contour_mode: eContourMode = eContourMode.Filled, min_color: ColorSurrogateVal | None = None, max_color: ColorSurrogateVal | None = None, color_interpolation_method: eColorInterpolationMethod = eColorInterpolationMethod.HSLSaturated, contour_color_table_method: eContourColorTableMethod = eContourColorTableMethod.Interpolate, proto_message: Any | None = None)#

Bases: object

Simple wrapper for ContourOptions with Pythonic getters and setters.

property color_interpolation_method: eColorInterpolationMethod#

Get the ColorInterpolationMethod field as a Python IntEnum (IDE autocomplete).

property contour_color_table_method: eContourColorTableMethod#

Get the ContourColorTableMethod field as a Python IntEnum (IDE autocomplete).

property contour_mode: eContourMode#

Get the ContourMode field as a Python IntEnum (IDE autocomplete).

copy()#

Create a copy of this wrapper.

property custom_colors: List[ColorSurrogateVal]#

Get the CustomColors field as a list of wrappers.

property custom_range: CustomRangeVal#

Get the CustomRange field as a wrapper.

property fill_above_maximum: bool#

Get the FillAboveMaximum field value.

property fill_below_minimum: bool#

Get the FillBelowMinimum field value.

classmethod from_proto(proto_message)#

Create wrapper from existing protobuf message.

property intervals: int#

Get the Intervals field value.

property max_color: ColorSurrogateVal#

Get the MaxColor field as a wrapper.

property min_color: ColorSurrogateVal#

Get the MinColor field as a wrapper.

to_proto()#

Get the underlying protobuf message.