Bases: plotly.basedatatypes.BaseTraceHierarchyType
arrowlen
¶
Sets the length (in px) of the links arrow, if 0 no arrow will be drawn.
An int or float in the interval [0, inf]
int|float
color
¶
Sets the link
color. It can be a single value, or an array for specifying color for each link
. If link.color
is omitted, then by default, a translucent grey link will be used.
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
str|numpy.ndarray
colorscaledefaults
¶
When used in a template (as layout.template.data.sankey.link.colorscaledefaults), sets the default property values to use for elements of sankey.link.colorscales
The ‘colorscaledefaults’ property is an instance of Colorscale that may be specified as:
colorscales
¶
The ‘colorscales’ property is a tuple of instances of Colorscale that may be specified as:
A list or tuple of instances of plotly.graph_objects.sankey.link.Colorscale
A list or tuple of dicts of string/value properties that will be passed to the Colorscale constructor
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
customdata
¶
Assigns extra data to each link.
The ‘customdata’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
numpy.ndarray
customdatasrc
¶
Sets the source reference on Chart Studio Cloud for customdata
.
The ‘customdatasrc’ property must be specified as a string or as a plotly.grid_objs.Column object
hovercolor
¶
Sets the link
hover color. It can be a single value, or an array for specifying hover colors for each link
. If link.hovercolor
is omitted, then by default, links will become slightly more opaque when hovered over.
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
str|numpy.ndarray
hovercolorsrc
¶
Sets the source reference on Chart Studio Cloud for hovercolor
.
The ‘hovercolorsrc’ property must be specified as a string or as a plotly.grid_objs.Column object
hoverinfo
¶
Determines which trace information appear when hovering links. If none
or skip
are set, no information is displayed upon hovering. But, if none
is set, click and hover events are still fired.
[‘all’, ‘none’, ‘skip’]
Any
hoverlabel
¶
The ‘hoverlabel’ property is an instance of Hoverlabel that may be specified as:
hovertemplate
¶
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. The variables available in hovertemplate
are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are arrayOk: true
) are available. Variables source
and target
are node objects.Finally, the template string has access to variables value
and label
. 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>
.
A string
A number that will be converted to a string
A tuple, list, or one-dimensional numpy array of the above
str|numpy.ndarray
hovertemplatesrc
¶
Sets the source reference on Chart Studio Cloud for hovertemplate
.
The ‘hovertemplatesrc’ property must be specified as a string or as a plotly.grid_objs.Column object
label
¶
The shown name of the link.
The ‘label’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
numpy.ndarray
labelsrc
¶
Sets the source reference on Chart Studio Cloud for label
.
The ‘labelsrc’ property must be specified as a string or as a plotly.grid_objs.Column object
line
¶
The ‘line’ property is an instance of Line that may be specified as:
source
¶
An integer number [0..nodes.length - 1]
that represents the source node.
The ‘source’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
numpy.ndarray
sourcesrc
¶
Sets the source reference on Chart Studio Cloud for source
.
The ‘sourcesrc’ property must be specified as a string or as a plotly.grid_objs.Column object
target
¶
An integer number [0..nodes.length - 1]
that represents the target node.
The ‘target’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
numpy.ndarray
targetsrc
¶
Sets the source reference on Chart Studio Cloud for target
.
The ‘targetsrc’ property must be specified as a string or as a plotly.grid_objs.Column object
value
¶
A numeric value representing the flow volume value.
The ‘value’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series
numpy.ndarray
valuesrc
¶
Sets the source reference on Chart Studio Cloud for value
.
The ‘valuesrc’ property must be specified as a string or as a plotly.grid_objs.Column object
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4