set_trace_properties#

Trace.set_trace_properties(trace_style=None, width=None, trace_type=None, color=None)[source]#

Set trace properties.

Parameters:
trace_stylestr, optional

Style for the trace line. The default is None. You can also use the LINESTYLE property.

widthint, optional

Width of the trace line. The default is None.

trace_typestr

Type of the trace line. The default is None. You can also use the TRACETYPE property.

colortuple, list

Trace line color specified 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.