set_trace_properties#
- Trace.set_trace_properties(style=None, width=None, trace_type=None, color=None)[source]#
Set trace properties.
- Parameters:
- style
str
,optional
Style for the trace line. The default is
None
. You can also use theLINESTYLE
property.- width
int
,optional
Width of the trace line. The default is
None
.- trace_type
str
Type of the trace line. The default is
None
. You can also use theTRACETYPE
property.- color
tuple
,list
Trace line color specified 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.