You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

plotly.graph_objs.layout.newselection Module

Functions

plotly.graph_objs.layout.newselection.Line([color=], [dash=], [width=]) → 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.

  • 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*).

  • width - Sets the line width (in px).



Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.


plotly.graph_objs.layout.newselection