plotly.graph_objects.choropleth.marker packageΒΆ
-
class
plotly.graph_objects.choropleth.marker.
Line
(arg=None, color=None, colorsrc=None, width=None, widthsrc=None, **kwargs)ΒΆ Bases:
plotly.basedatatypes.BaseTraceHierarchyType
-
property
color
ΒΆ Sets the marker.line color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to
marker.line.cmin
andmarker.line.cmax
if set.- 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: see https://plotly.com/python/css-colors/ for a list
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
colorsrc
ΒΆ Sets the source reference on Chart Studio Cloud for
color
.The βcolorsrcβ property must be specified as a string or as a plotly.grid_objs.Column object
- Returns
- Return type
-
property
width
ΒΆ Sets the width (in px) of the lines bounding the marker points.
- The βwidthβ property is a number and may be specified as:
An int or float in the interval [0, inf]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|float|numpy.ndarray
-
property