plotly.graph_objects.Scatter3d¶
-
class
plotly.graph_objects.Scatter3d(arg=None, connectgaps=None, customdata=None, error_x=None, error_y=None, error_z=None, hoverinfo=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None, hovertext=None, ids=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, marker=None, meta=None, mode=None, name=None, opacity=None, projection=None, scene=None, showlegend=None, surfaceaxis=None, surfacecolor=None, text=None, textfont=None, textposition=None, texttemplate=None, texttemplatefallback=None, uid=None, uirevision=None, visible=None, x=None, xcalendar=None, xhoverformat=None, y=None, ycalendar=None, yhoverformat=None, z=None, zcalendar=None, zhoverformat=None, **kwargs)¶ -
__init__(arg=None, connectgaps=None, customdata=None, error_x=None, error_y=None, error_z=None, hoverinfo=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None, hovertext=None, ids=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, marker=None, meta=None, mode=None, name=None, opacity=None, projection=None, scene=None, showlegend=None, surfaceaxis=None, surfacecolor=None, text=None, textfont=None, textposition=None, texttemplate=None, texttemplatefallback=None, uid=None, uirevision=None, visible=None, x=None, xcalendar=None, xhoverformat=None, y=None, ycalendar=None, yhoverformat=None, z=None, zcalendar=None, zhoverformat=None, **kwargs)¶ Construct a new Scatter3d object
The data visualized as scatter point or lines in 3D dimension is set in
x,y,z. Text (appearing either on the chart or on hover only) is viatext. Bubble charts are achieved by settingmarker.sizeand/ormarker.colorProjections are achieved viaprojection. Surface fills are achieved viasurfaceaxis.- Parameters
arg â dict of properties compatible with this constructor or an instance of
plotly.graph_objects.Scatter3dconnectgaps â Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
customdata â Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, âscatterâ traces also appends customdata items in the markers DOM elements
error_x â
plotly.graph_objects.scatter3d.ErrorXinstance or dict with compatible propertieserror_y â
plotly.graph_objects.scatter3d.ErrorYinstance or dict with compatible propertieserror_z â
plotly.graph_objects.scatter3d.ErrorZinstance or dict with compatible propertieshoverinfo â Determines what trace information appears on hover. If
noneorskipare set, no information is displayed upon hovering. But, ifnoneis set, click and hover events are still fired.hoverlabel â
plotly.graph_objects.scatter3d.Hoverlabelinstance or dict with compatible propertieshovertemplate â Template string used for rendering the information that appear on hover box. Note that this will override
hoverinfo. Variables are inserted using %{variable}, for example ây: %{y}â as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, âxotherâ will be added to those with different x positions from the first point. An underscore before or after â(x|y)otherâ will add a space on that side, only when this field is shown. Numbers are formatted using d3-formatâs syntax %{variable:d3-format}, for example âPrice: %{y:$.2f}â. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-formatâs syntax %{variable|d3-time-format}, for example âDay: %{2019-01-01|%A}â. https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that canât be found will be replaced with the specifier. For example, a template of âdata: %{x}, %{y}â will result in a value of âdata: 1, %{y}â if x is 1 and y is missing. Variables with an undefined value will be replaced with the fallback value. The variables available inhovertemplateare the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event- data. Additionally, all attributes that can be specified per-point (the ones that arearrayOk: true) are available. Anything contained in tag<extra>is displayed in the secondary box, for example<extra>%{fullData.name}</extra>. To hide the secondary box completely, use an empty tag<extra></extra>.hovertemplatefallback â Fallback string thatâs displayed when a variable referenced in a template is missing. If the boolean value âfalseâ is passed in, the specifier with the missing variable will be displayed.
hovertext â Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this traceâs (x,y,z) coordinates. To be seen, trace
hoverinfomust contain a âtextâ flag.ids â Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.
legend â Sets the reference to a legend to show this trace in. References to these legends are âlegendâ, âlegend2â, âlegend3â, etc. Settings for these legends are set in the layout, under
layout.legend,layout.legend2, etc.legendgroup â Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
legendgrouptitle â :class:`plotly.graph_objects.scatter3d.Legendgrouptitle ` instance or dict with compatible properties
legendrank â Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with âreversedâ
legend.traceorderthey are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.legendwidth â Sets the width (in px or fraction) of the legend for this trace.
line â
plotly.graph_objects.scatter3d.Lineinstance or dict with compatible propertiesmarker â
plotly.graph_objects.scatter3d.Markerinstance or dict with compatible propertiesmeta â Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace
name, graph, axis and colorbartitle.text, annotationtextrangeselector,updatemenuesandsliderslabeltext all supportmeta. To access the tracemetavalues in an attribute in the same trace, simply use%{meta[i]}whereiis the index or key of themetaitem in question. To access tracemetain layout attributes, use%{data[n[.meta[i]}whereiis the index or key of themetaandnis the trace index.mode â Determines the drawing mode for this scatter trace. If the provided
modeincludes âtextâ then thetextelements appear at the coordinates. Otherwise, thetextelements appear on hover. If there are less than 20 points and the trace is not stacked then the default is âlines+markersâ. Otherwise, âlinesâ.name â Sets the trace name. The trace name appears as the legend item and on hover.
opacity â Sets the opacity of the trace.
projection â
plotly.graph_objects.scatter3d.Projectioninstance or dict with compatible propertiesscene â Sets a reference between this traceâs 3D coordinate system and a 3D scene. If âsceneâ (the default value), the (x,y,z) coordinates refer to
layout.scene. If âscene2â, the (x,y,z) coordinates refer tolayout.scene2, and so on.showlegend â Determines whether or not an item corresponding to this trace is shown in the legend.
surfaceaxis â If â-1â, the scatter points are not fill with a surface If 0, 1, 2, the scatter points are filled with a Delaunay surface about the x, y, z respectively.
surfacecolor â Sets the surface fill color.
text â Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this traceâs (x,y,z) coordinates. If trace
hoverinfocontains a âtextâ flag and âhovertextâ is not set, these elements will be seen in the hover labels.textfont â Sets the text font.
textposition â Sets the positions of the
textelements with respects to the (x,y) coordinates.texttemplate â Template string used for rendering the information text that appears on points. Note that this will override
textinfo. Variables are inserted using %{variable}, for example ây: %{y}â. Numbers are formatted using d3-formatâs syntax %{variable:d3-format}, for example âPrice: %{y:$.2f}â. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-formatâs syntax %{variable|d3-time-format}, for example âDay: %{2019-01-01|%A}â. https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that canât be found will be replaced with the specifier. For example, a template of âdata: %{x}, %{y}â will result in a value of âdata: 1, %{y}â if x is 1 and y is missing. Variables with an undefined value will be replaced with the fallback value. All attributes that can be specified per-point (the ones that arearrayOk: true) are available.texttemplatefallback â Fallback string thatâs displayed when a variable referenced in a template is missing. If the boolean value âfalseâ is passed in, the specifier with the missing variable will be displayed.
uid â Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
uirevision â Controls persistence of some user-driven changes to the trace:
constraintrangeinparcoordstraces, as well as someeditable: truemodifications such asnameandcolorbar.title. Defaults tolayout.uirevision. Note that other user-driven trace attribute changes are controlled bylayoutattributes:trace.visibleis controlled bylayout.legend.uirevision,selectedpointsis controlled bylayout.selectionrevision, andcolorbar.(x|y)(accessible withconfig: {editable: true}) is controlled bylayout.editrevision. Trace changes are tracked byuid, which only falls back on trace index if nouidis provided. So if your app can add/remove traces before the end of thedataarray, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace auidthat stays with it as it moves.visible â Determines whether or not this trace is visible. If âlegendonlyâ, the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).
x â Sets the x coordinates.
xcalendar â Sets the calendar system to use with
xdate data.xhoverformat â Sets the hover text formatting rule for
xusing d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format. We add two items to d3âs date formatter: â%hâ for half of the year as a decimal number as well as â%{n}fâ for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat â%H~%M~%S.%2fâ would display *09~15~23.46*By default the values are formatted usingxaxis.hoverformat.y â Sets the y coordinates.
ycalendar â Sets the calendar system to use with
ydate data.yhoverformat â Sets the hover text formatting rule for
yusing d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format. We add two items to d3âs date formatter: â%hâ for half of the year as a decimal number as well as â%{n}fâ for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat â%H~%M~%S.%2fâ would display *09~15~23.46*By default the values are formatted usingyaxis.hoverformat.z â Sets the z coordinates.
zcalendar â Sets the calendar system to use with
zdate data.zhoverformat â Sets the hover text formatting rule for
zusing d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format. We add two items to d3âs date formatter: â%hâ for half of the year as a decimal number as well as â%{n}fâ for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat â%H~%M~%S.%2fâ would display *09~15~23.46*By default the values are formatted usingzaxis.hoverformat.
- Returns
- Return type
-
plotly.graph_objects.scatter3d¶
-
class
plotly.graph_objects.scatter3d.ErrorX(arg=None, array=None, arrayminus=None, color=None, copy_zstyle=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, valueminus=None, visible=None, width=None, **kwargs)¶ -
property
array¶ Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
The âarrayâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
arrayminus¶ Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
The âarrayminusâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
color¶ Sets the stroke color of the error bars.
- The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
- Returns
- Return type
-
property
copy_zstyle¶ - The âcopy_zstyleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
symmetric¶ Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- The âsymmetricâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
thickness¶ Sets the thickness (in px) of the error bars.
- The âthicknessâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
traceref¶ - The âtracerefâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
tracerefminus¶ - The âtracerefminusâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
type¶ Determines the rule used to generate the error bars. If âconstantâ, the bar lengths are of a constant value. Set this constant in
value. If âpercentâ, the bar lengths correspond to a percentage of underlying data. Set this percentage invalue. If âsqrtâ, the bar lengths correspond to the square of the underlying data. If âdataâ, the bar lengths are set with data setarray.- The âtypeâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âpercentâ, âconstantâ, âsqrtâ, âdataâ]
- Returns
- Return type
Any
-
property
value¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars.- The âvalueâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
valueminus¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars- The âvalueminusâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
visible¶ Determines whether or not this set of error bars is visible.
- The âvisibleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
width¶ Sets the width (in px) of the cross-bar at both ends of the error bars.
- The âwidthâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
-
class
plotly.graph_objects.scatter3d.ErrorY(arg=None, array=None, arrayminus=None, color=None, copy_zstyle=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, valueminus=None, visible=None, width=None, **kwargs)¶ -
property
array¶ Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
The âarrayâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
arrayminus¶ Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
The âarrayminusâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
color¶ Sets the stroke color of the error bars.
- The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
- Returns
- Return type
-
property
copy_zstyle¶ - The âcopy_zstyleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
symmetric¶ Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- The âsymmetricâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
thickness¶ Sets the thickness (in px) of the error bars.
- The âthicknessâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
traceref¶ - The âtracerefâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
tracerefminus¶ - The âtracerefminusâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
type¶ Determines the rule used to generate the error bars. If âconstantâ, the bar lengths are of a constant value. Set this constant in
value. If âpercentâ, the bar lengths correspond to a percentage of underlying data. Set this percentage invalue. If âsqrtâ, the bar lengths correspond to the square of the underlying data. If âdataâ, the bar lengths are set with data setarray.- The âtypeâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âpercentâ, âconstantâ, âsqrtâ, âdataâ]
- Returns
- Return type
Any
-
property
value¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars.- The âvalueâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
valueminus¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars- The âvalueminusâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
visible¶ Determines whether or not this set of error bars is visible.
- The âvisibleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
width¶ Sets the width (in px) of the cross-bar at both ends of the error bars.
- The âwidthâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
-
class
plotly.graph_objects.scatter3d.ErrorZ(arg=None, array=None, arrayminus=None, color=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, valueminus=None, visible=None, width=None, **kwargs)¶ -
property
array¶ Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
The âarrayâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
arrayminus¶ Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
The âarrayminusâ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
- Returns
- Return type
numpy.ndarray
-
property
color¶ Sets the stroke color of the error bars.
- The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
- Returns
- Return type
-
property
symmetric¶ Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- The âsymmetricâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
thickness¶ Sets the thickness (in px) of the error bars.
- The âthicknessâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
traceref¶ - The âtracerefâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
tracerefminus¶ - The âtracerefminusâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
- Returns
- Return type
-
property
type¶ Determines the rule used to generate the error bars. If âconstantâ, the bar lengths are of a constant value. Set this constant in
value. If âpercentâ, the bar lengths correspond to a percentage of underlying data. Set this percentage invalue. If âsqrtâ, the bar lengths correspond to the square of the underlying data. If âdataâ, the bar lengths are set with data setarray.- The âtypeâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âpercentâ, âconstantâ, âsqrtâ, âdataâ]
- Returns
- Return type
Any
-
property
value¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars.- The âvalueâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
valueminus¶ Sets the value of either the percentage (if
typeis set to âpercentâ) or the constant (iftypeis set to âconstantâ) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars- The âvalueminusâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
visible¶ Determines whether or not this set of error bars is visible.
- The âvisibleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
width¶ Sets the width (in px) of the cross-bar at both ends of the error bars.
- The âwidthâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
-
class
plotly.graph_objects.scatter3d.Hoverlabel(arg=None, align=None, bgcolor=None, bordercolor=None, font=None, namelength=None, showarrow=None, **kwargs)¶ -
property
align¶ Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines
- The âalignâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âleftâ, ârightâ, âautoâ]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
Any|numpy.ndarray
-
property
bgcolor¶ Sets the background color of the hover labels for this trace
- The âbgcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
bordercolor¶ Sets the border color of the hover labels for this trace.
- The âbordercolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
font¶ Sets the font used in hover labels.
The âfontâ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.scatter3d.hoverlabel.FontA dict of string/value properties that will be passed to the Font constructor
- Returns
- Return type
-
property
namelength¶ Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to
namelength - 3characters and add an ellipsis.- The ânamelengthâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [-1, 9223372036854775807]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|numpy.ndarray
-
property
-
class
plotly.graph_objects.scatter3d.Legendgrouptitle(arg=None, font=None, text=None, **kwargs)¶ -
property
font¶ Sets this legend groupâs title font.
The âfontâ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.scatter3d.legendgrouptitle.FontA dict of string/value properties that will be passed to the Font constructor
- Returns
- Return type
-
property
-
class
plotly.graph_objects.scatter3d.Line(arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorbar=None, colorscale=None, dash=None, reversescale=None, showscale=None, width=None, **kwargs)¶ -
property
autocolorscale¶ Determines whether the colorscale is a default palette (
autocolorscale: true) or the palette determined byline.colorscale. Has an effect only if inline.coloris set to a numerical array. In casecolorscaleis unspecified orautocolorscaleis true, the default palette will be chosen according to whether numbers in thecolorarray are all positive, all negative or mixed.- The âautocolorscaleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
cauto¶ Determines whether or not the color domain is computed with respect to the input data (here in
line.color) or the bounds set inline.cminandline.cmaxHas an effect only if inline.coloris set to a numerical array. Defaults tofalsewhenline.cminandline.cmaxare set by the user.- The âcautoâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
cmax¶ Sets the upper bound of the color domain. Has an effect only if in
line.coloris set to a numerical array. Value should have the same units as inline.colorand if set,line.cminmust be set as well.- The âcmaxâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
cmid¶ Sets the mid-point of the color domain by scaling
line.cminand/orline.cmaxto be equidistant to this point. Has an effect only if inline.coloris set to a numerical array. Value should have the same units as inline.color. Has no effect whenline.cautoisfalse.- The âcmidâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
cmin¶ Sets the lower bound of the color domain. Has an effect only if in
line.coloris set to a numerical array. Value should have the same units as inline.colorand if set,line.cmaxmust be set as well.- The âcminâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
color¶ Sets the 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
line.cminandline.cmaxif set.- The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A number that will be interpreted as a color according to scatter3d.line.colorscale
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
coloraxis¶ Sets a reference to a shared color axis. References to these shared color axes are âcoloraxisâ, âcoloraxis2â, âcoloraxis3â, etc. Settings for these shared color axes are set in the layout, under
layout.coloraxis,layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis.The âcoloraxisâ property is an identifier of a particular subplot, of type âcoloraxisâ, that may be specified as:
the string âcoloraxisâ optionally followed by an integer >= 1 (e.g. âcoloraxisâ, âcoloraxis1â, âcoloraxis2â, âcoloraxis3â, etc.)
- Returns
- Return type
-
property
colorbar¶ The âcolorbarâ property is an instance of ColorBar that may be specified as:
An instance of
plotly.graph_objects.scatter3d.line.ColorBarA dict of string/value properties that will be passed to the ColorBar constructor
- Returns
- Return type
-
property
colorscale¶ Sets the colorscale. Has an effect only if in
line.coloris set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsla, hwb, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example,[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, useline.cminandline.cmax. Alternatively,colorscalemay be a palette name string of the following list: Blackbody,Bluered, Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portla nd,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.The âcolorscaleâ property is a colorscale and may be specified as:
A list of colors that will be spaced evenly to create the colorscale. Many predefined colorscale lists are included in the sequential, diverging, and cyclical modules in the plotly.colors package.
A list of 2-element lists where the first element is the normalized color level value (starting at 0 and ending at 1), and the second item is a valid color string. (e.g. [[0, âgreenâ], [0.5, âredâ], [1.0, ârgb(0, 0, 255)â]])
- One of the following named colorscales:
- [âaggrnylâ, âagsunsetâ, âalgaeâ, âampâ, âarmyroseâ, âbalanceâ,
âblackbodyâ, âblueredâ, âbluesâ, âblugrnâ, âbluylâ, âbrbgâ, âbrwnylâ, âbugnâ, âbupuâ, âburgâ, âburgylâ, âcividisâ, âcurlâ, âdarkmintâ, âdeepâ, âdeltaâ, âdenseâ, âearthâ, âedgeâ, âelectricâ, âemrldâ, âfallâ, âgeyserâ, âgnbuâ, âgrayâ, âgreensâ, âgreysâ, âhalineâ, âhotâ, âhsvâ, âiceâ, âicefireâ, âinfernoâ, âjetâ, âmagentaâ, âmagmaâ, âmatterâ, âmintâ, âmrybmâ, âmygbmâ, âorangesâ, âorrdâ, âoryelâ, âoxyâ, âpeachâ, âphaseâ, âpicnicâ, âpinkylâ, âpiygâ, âplasmaâ, âplotly3â, âportlandâ, âprgnâ, âpubuâ, âpubugnâ, âpuorâ, âpurdâ, âpurpâ, âpurplesâ, âpurporâ, ârainbowâ, ârdbuâ, ârdgyâ, ârdpuâ, ârdylbuâ, ârdylgnâ, âredorâ, âredsâ, âsolarâ, âspectralâ, âspeedâ, âsunsetâ, âsunsetdarkâ, âtealâ, âtealgrnâ, âtealroseâ, âtempoâ, âtempsâ, âthermalâ, âtropicâ, âturbidâ, âturboâ, âtwilightâ, âviridisâ, âylgnâ, âylgnbuâ, âylorbrâ, âylorrdâ].
Appending â_râ to a named colorscale reverses it.
- Returns
- Return type
-
property
dash¶ Sets the dash style of the lines.
- The âdashâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âdashâ, âdashdotâ, âdotâ, âlongdashâ, âlongdashdotâ, âsolidâ]
- Returns
- Return type
Any
-
property
reversescale¶ Reverses the color mapping if true. Has an effect only if in
line.coloris set to a numerical array. If true,line.cminwill correspond to the last color in the array andline.cmaxwill correspond to the first color.- The âreversescaleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
showscale¶ Determines whether or not a colorbar is displayed for this trace. Has an effect only if in
line.coloris set to a numerical array.- The âshowscaleâ property is a boolean and must be specified as:
A boolean value: True or False
- 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 [0, inf]
- Returns
- Return type
int|float
-
property
-
class
plotly.graph_objects.scatter3d.Marker(arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorbar=None, colorscale=None, line=None, opacity=None, reversescale=None, showscale=None, size=None, sizemin=None, sizemode=None, sizeref=None, symbol=None, **kwargs)¶ -
property
autocolorscale¶ Determines whether the colorscale is a default palette (
autocolorscale: true) or the palette determined bymarker.colorscale. Has an effect only if inmarker.coloris set to a numerical array. In casecolorscaleis unspecified orautocolorscaleis true, the default palette will be chosen according to whether numbers in thecolorarray are all positive, all negative or mixed.- The âautocolorscaleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
cauto¶ Determines whether or not the color domain is computed with respect to the input data (here in
marker.color) or the bounds set inmarker.cminandmarker.cmaxHas an effect only if inmarker.coloris set to a numerical array. Defaults tofalsewhenmarker.cminandmarker.cmaxare set by the user.- The âcautoâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
cmax¶ Sets the upper bound of the color domain. Has an effect only if in
marker.coloris set to a numerical array. Value should have the same units as inmarker.colorand if set,marker.cminmust be set as well.- The âcmaxâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
cmid¶ Sets the mid-point of the color domain by scaling
marker.cminand/ormarker.cmaxto be equidistant to this point. Has an effect only if inmarker.coloris set to a numerical array. Value should have the same units as inmarker.color. Has no effect whenmarker.cautoisfalse.- The âcmidâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
cmin¶ Sets the lower bound of the color domain. Has an effect only if in
marker.coloris set to a numerical array. Value should have the same units as inmarker.colorand if set,marker.cmaxmust be set as well.- The âcminâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
color¶ Sets the marker 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.cminandmarker.cmaxif set.- The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A number that will be interpreted as a color according to scatter3d.marker.colorscale
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
coloraxis¶ Sets a reference to a shared color axis. References to these shared color axes are âcoloraxisâ, âcoloraxis2â, âcoloraxis3â, etc. Settings for these shared color axes are set in the layout, under
layout.coloraxis,layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis.The âcoloraxisâ property is an identifier of a particular subplot, of type âcoloraxisâ, that may be specified as:
the string âcoloraxisâ optionally followed by an integer >= 1 (e.g. âcoloraxisâ, âcoloraxis1â, âcoloraxis2â, âcoloraxis3â, etc.)
- Returns
- Return type
-
property
colorbar¶ The âcolorbarâ property is an instance of ColorBar that may be specified as:
An instance of
plotly.graph_objects.scatter3d.marker.ColorBarA dict of string/value properties that will be passed to the ColorBar constructor
- Returns
- Return type
-
property
colorscale¶ Sets the colorscale. Has an effect only if in
marker.coloris set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsla, hwb, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example,[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, usemarker.cminandmarker.cmax. Alternatively,colorscalemay be a palette name string of the following list: Blackbody,B luered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic ,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.The âcolorscaleâ property is a colorscale and may be specified as:
A list of colors that will be spaced evenly to create the colorscale. Many predefined colorscale lists are included in the sequential, diverging, and cyclical modules in the plotly.colors package.
A list of 2-element lists where the first element is the normalized color level value (starting at 0 and ending at 1), and the second item is a valid color string. (e.g. [[0, âgreenâ], [0.5, âredâ], [1.0, ârgb(0, 0, 255)â]])
- One of the following named colorscales:
- [âaggrnylâ, âagsunsetâ, âalgaeâ, âampâ, âarmyroseâ, âbalanceâ,
âblackbodyâ, âblueredâ, âbluesâ, âblugrnâ, âbluylâ, âbrbgâ, âbrwnylâ, âbugnâ, âbupuâ, âburgâ, âburgylâ, âcividisâ, âcurlâ, âdarkmintâ, âdeepâ, âdeltaâ, âdenseâ, âearthâ, âedgeâ, âelectricâ, âemrldâ, âfallâ, âgeyserâ, âgnbuâ, âgrayâ, âgreensâ, âgreysâ, âhalineâ, âhotâ, âhsvâ, âiceâ, âicefireâ, âinfernoâ, âjetâ, âmagentaâ, âmagmaâ, âmatterâ, âmintâ, âmrybmâ, âmygbmâ, âorangesâ, âorrdâ, âoryelâ, âoxyâ, âpeachâ, âphaseâ, âpicnicâ, âpinkylâ, âpiygâ, âplasmaâ, âplotly3â, âportlandâ, âprgnâ, âpubuâ, âpubugnâ, âpuorâ, âpurdâ, âpurpâ, âpurplesâ, âpurporâ, ârainbowâ, ârdbuâ, ârdgyâ, ârdpuâ, ârdylbuâ, ârdylgnâ, âredorâ, âredsâ, âsolarâ, âspectralâ, âspeedâ, âsunsetâ, âsunsetdarkâ, âtealâ, âtealgrnâ, âtealroseâ, âtempoâ, âtempsâ, âthermalâ, âtropicâ, âturbidâ, âturboâ, âtwilightâ, âviridisâ, âylgnâ, âylgnbuâ, âylorbrâ, âylorrdâ].
Appending â_râ to a named colorscale reverses it.
- Returns
- Return type
-
property
line¶ The âlineâ property is an instance of Line that may be specified as:
An instance of
plotly.graph_objects.scatter3d.marker.LineA dict of string/value properties that will be passed to the Line constructor
- Returns
- Return type
-
property
opacity¶ Sets the marker opacity. Note that the marker opacity for scatter3d traces must be a scalar value for performance reasons. To set a blending opacity value (i.e. which is not transparent), set âmarker.colorâ to an rgba color and use its alpha channel.
- The âopacityâ property is a number and may be specified as:
An int or float in the interval [0, 1]
- Returns
- Return type
int|float
-
property
reversescale¶ Reverses the color mapping if true. Has an effect only if in
marker.coloris set to a numerical array. If true,marker.cminwill correspond to the last color in the array andmarker.cmaxwill correspond to the first color.- The âreversescaleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
showscale¶ Determines whether or not a colorbar is displayed for this trace. Has an effect only if in
marker.coloris set to a numerical array.- The âshowscaleâ property is a boolean and must be specified as:
A boolean value: True or False
- Returns
- Return type
-
property
size¶ Sets the marker size (in px).
- The âsizeâ 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
sizemin¶ Has an effect only if
marker.sizeis set to a numerical array. Sets the minimum size (in px) of the rendered marker points.- The âsizeminâ property is a number and may be specified as:
An int or float in the interval [0, inf]
- Returns
- Return type
int|float
-
property
sizemode¶ Has an effect only if
marker.sizeis set to a numerical array. Sets the rule for which the data insizeis converted to pixels.- The âsizemodeâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âdiameterâ, âareaâ]
- Returns
- Return type
Any
-
property
sizeref¶ Has an effect only if
marker.sizeis set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use withsizeminandsizemode.- The âsizerefâ property is a number and may be specified as:
An int or float
- Returns
- Return type
int|float
-
property
symbol¶ Sets the marker symbol type.
- The âsymbolâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[âcircleâ, âcircle-openâ, âcrossâ, âdiamondâ, âdiamond-openâ, âsquareâ, âsquare-openâ, âxâ]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
Any|numpy.ndarray
-
property
-
class
plotly.graph_objects.scatter3d.Projection(arg=None, x=None, y=None, z=None, **kwargs)¶ -
property
x¶ The âxâ property is an instance of X that may be specified as:
An instance of
plotly.graph_objects.scatter3d.projection.XA dict of string/value properties that will be passed to the X constructor
- Returns
- Return type
-
property
y¶ The âyâ property is an instance of Y that may be specified as:
An instance of
plotly.graph_objects.scatter3d.projection.YA dict of string/value properties that will be passed to the Y constructor
- Returns
- Return type
-
property
z¶ The âzâ property is an instance of Z that may be specified as:
An instance of
plotly.graph_objects.scatter3d.projection.ZA dict of string/value properties that will be passed to the Z constructor
- Returns
- Return type
-
property
-
class
plotly.graph_objects.scatter3d.Textfont(arg=None, color=None, family=None, size=None, style=None, variant=None, weight=None, **kwargs)¶ -
property
color¶ - The âcolorâ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. â#d3d3d3â, â#d3dâ)
hex or short hex with alpha (e.g. â#d3d3d380â, â#d3d8â)
rgb (e.g. ârgb(255, 0, 0)â, ârgb(255 0 0)â)
rgba (e.g. ârgba(255, 0, 0, 0.5)â, ârgba(255 0 0 / 0.5)â)
hsl (e.g. âhsl(0, 100%, 50%)â, âhsl(0deg 100% 50%)â)
hsla (e.g. âhsla(0, 100%, 50%, 0.5)â, âhsla(0deg 100% 50% / 0.5)â)
hwb (e.g. âhwb(0 0% 100%)â)
lab/lch/oklab/oklch (e.g. âoklch(0.7 0.15 180)â)
color (e.g. âcolor(display-p3 1 0 0)â)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
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
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
str|numpy.ndarray
-
property
size¶ - The âsizeâ property is a number and may be specified as:
An int or float in the interval [1, inf]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|float|numpy.ndarray
-
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â]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
Any|numpy.ndarray
-
property
variant¶ Sets the variant of the font.
- The âvariantâ property is an enumeration that may be specified as:
- One of the following enumeration values:
[ânormalâ, âsmall-capsâ]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
Any|numpy.ndarray
-
property
weight¶ Sets the weight (or boldness) of the font.
- The âweightâ property is an integer and may be specified as:
An int (or float that will be cast to an int) in the interval [1, 1000] OR exactly one of [ânormalâ, âboldâ] (e.g. âboldâ)
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|numpy.ndarray
-
property
