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:
- style
str
,optional
Style for the limit line. The default is
None
. You can also use theLIFESTYLE
property.- width
int
,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_pixels
int
Number of pixels for the hatch. The default is
None
.- color
tuple
,list
Trace color as a tuple (R,G,B) or a list of integers [0,255]. The default is
None
.
- style
- Returns:
- bool
“True`` when successful,
False
when failed.