plotly.graph_objects.layout.newselection packageΒΆ
-
class
plotly.graph_objects.layout.newselection.Line(arg=None, color=None, dash=None, width=None, **kwargs)ΒΆ Bases:
plotly.basedatatypes.BaseLayoutHierarchyType-
property
colorΒΆ Sets the line color. By default uses either dark grey or white to increase contrast with background color.
- The βcolorβ property is a color and may be specified as:
A hex string (e.g. β#ff0000β)
An rgb/rgba string (e.g. βrgb(255,0,0)β)
An hsl/hsla string (e.g. βhsl(0,100%,50%)β)
An hsv/hsva string (e.g. βhsv(0,100%,100%)β)
- A named CSS color:
aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgrey, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, grey, green, greenyellow, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgrey, lightgreen, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, rebeccapurple, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen
- Returns
- Return type
-
property
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β).
- The βdashβ property is an enumeration that may be specified as:
- One of the following dash styles:
[βsolidβ, βdotβ, βdashβ, βlongdashβ, βdashdotβ, βlongdashdotβ]
- A string containing a dash length list in pixels or percentages
(e.g. β5px 10px 2px 2pxβ, β5, 10, 2, 2β, β10% 20% 40%β, etc.)
- Returns
- Return type
-
property
widthΒΆ Sets the line width (in px).
- The βwidthβ property is a number and may be specified as:
An int or float in the interval [1, inf]
- Returns
- Return type
int|float
-
property
