set_line_properties#

LimitLine.set_line_properties(style=None, width=None, hatch_above=None, violation_emphasis=None, hatch_pixels=None, color=None)[source]#

Set trace properties.

Parameters:
stylestr, optional

Style for the limit line. The default is None. You can also use the LIFESTYLE property.

widthint, optional

Width of the limit line. The default is None.

hatch_abovebool

Whether the hatch is above the limit line. The default is None.

violation_emphasisbool

Whether to add violation emphasis. The default is None.

hatch_pixelsint

Number of pixels for the hatch. The default is None.

colortuple, list

Trace color as a tuple (R,G,B) or a list of integers [0,255]. The default is None.

Returns:
bool

“True`` when successful, False when failed.