Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at

plotly.graph_objs.layout.shape Module


plotly.graph_objs.layout.shape.Line([color=], [width=], [dash=]) → Line

Create a new ‘Line’ object

  • color - Sets the line 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*).