plotly.graph_objs.layout.newshape
Module
Functions
plotly.graph_objs.layout.newshape.Line
Functions
plotly.graph_objs.layout.newshape.Line([color=], [width=], [dash=]) → Line
Create a new ‘Line’ object
color
- Sets the line color. By default uses either dark grey or white to increase contrast with background color.width
- Sets the line width (in px).dash
- Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).