dips.ContourOptionsVal module#

Generated wrapper for ContourOptions protobuf message.

class dips.ContourOptionsVal.ContourOptionsVal(custom_range: CustomRangeVal | None = None, min_color: ColorSurrogateVal | None = None, max_color: ColorSurrogateVal | None = None, proto_message: Any | None = None)#

Bases: object

Simple wrapper for ContourOptions with Pythonic getters and setters.

property color_interpolation_method: Any#

Get the ColorInterpolationMethod field value.

property contour_color_table_method: Any#

Get the ContourColorTableMethod field value.

property contour_mode: Any#

Get the ContourMode field value.

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.