plotly.graph_objects.layout.mapbox.layer.symbol packageΒΆ
-
class
plotly.graph_objects.layout.mapbox.layer.symbol.
Textfont
(arg=None, color=None, family=None, size=None, style=None, weight=None, **kwargs)ΒΆ Bases:
plotly.basedatatypes.BaseLayoutHierarchyType
-
property
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: see https://plotly.com/python/css-colors/ for a list
- Returns
- Return type
-
property
family
ΒΆ HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they arenβt available.
- The βfamilyβ property is a string and must be specified as:
A non-empty string
- Returns
- Return type
-
property
size
ΒΆ - The βsizeβ property is a number and may be specified as:
An int or float in the interval [1, inf]
- Returns
- Return type
int|float
-
property
style
ΒΆ Sets whether a font should be styled with a normal or italic face from its family.
- The βstyleβ property is an enumeration that may be specified as:
- One of the following enumeration values:
[βnormalβ, βitalicβ]
- Returns
- Return type
Any
-
property