plotly.graph_objects.choroplethmapbox.marker package¶
-
class
plotly.graph_objects.choroplethmapbox.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.cminandmarker.line.cmaxif 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
