Python Figure Reference: Single-Page
This page is the exhaustive reference for all of the attributes in the core figure data structure
that the plotly
library operates on. It is automatically-generated from the
machine-readable Plotly.js schema reference.
Figures are represented as trees with named nodes called "attributes".
The root node of the tree has three top-level attributes: data
, layout
and frames
.
Attributes are referred to in text and in this page by their full "path" i.e. the dot-delimited concatenation of their parents.
For example "layout.width"
refers to the attribute whose key is "width"
inside a dict which is
the value associated with a key "layout"
at the root of the figure. If one of the parents is a list rather
than a dict, a set of brackets is inserted in the path when referring to the attribute in the abstract,
e.g. "layout.annotations[].text"
. Finally, as explained below, the top-level "data"
attribute defines a list of typed objects called "traces" with the schema dependent upon the type,
and these attributes' paths are listed in this page as
"data[type=scatter].name"
. When manipulating
a plotly.graph_objects.Figure
object, attributes can be set either directly
using Python object attributes e.g. fig.layout.title.font.family="Open Sans"
or using update methods
and "magic underscores" e.g. fig.update_layout(title_font_family="Open Sans")
When building a figure, it is not necessary to populate every attribute
of every object. At render-time, the JavaScript layer will compute default values
for each required unspecified attribute, depending upon the ones that are specified,
as documented in this page. An example of this would be layout.xaxis.range
,
which may be specified explicitly, but if not will be computed based on the range of x
values for
every trace linked to that axis. The JavaScript layer will ignore unknown attributes
or malformed values, although the plotly.graph_objects
module provides
Python-side validation for attribute values. Note also that if the layout.template
key is present (as it is by default) then default values will be drawn first from the contents
of the template and only if missing from there will the JavaScript layer infer further defaults.
The built-in template can be disabled by setting layout.template="none"
.
scatter traces
plotly.graph_objects.Scatter
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts. The data visualized as scatter point or lines is set in `x` and `y`. Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scatter'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scatter'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scatter'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scatter'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scatter'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scatter'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scatter'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='scatter'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='scatter'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='scatter'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='scatter'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='scatter'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("v"
|"h"
)Only relevant in the following cases: 1. when `scattermode` is set to "group". 2. when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `False`. Sets the stacking direction. With "v" ("h"), the y (x) values of subsequent traces are added. Also affects the default value of `fill`.
- groupnorm
Code:fig.update_traces(groupnorm=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of (""
|"fraction"
|"percent"
)
Default:""
Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `False`. Sets the normalization for the sum of this `stackgroup`. With "fraction", the value of each trace at each location is divided by the sum of all trace values at that location. "percent" is the same but multiplied by 100 to show percentages. If there are multiple subplots, or multiple `stackgroup`s on one subplot, each will be normalized within its own set.
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- stackgroup
Code:fig.update_traces(stackgroup=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is "h"). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using "tonexty" ("tonextx") if `orientation` is "h" ("v") and sets the default `mode` to "lines" irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scatter'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("previous"
|"up"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scatter'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scatter'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scatter'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatter'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scatter'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scatter'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scatter'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatter'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatter'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatter'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scatter'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatter].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatter].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatter].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatter].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatter].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scatter'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scatter'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatter'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scatter'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scatter'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scatter'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scatter'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scatter'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- maxdisplayed
Code:fig.update_traces(marker_maxdisplayed=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:0
Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scatter'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scatter'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- backoff
Code:fig.update_traces(line_backoff=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 0
Default:"auto"
Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With "auto" the lines would trim before markers if `marker.angleref` is set to "previous".
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scatter'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("linear"
|"spline"
|"hv"
|"vh"
|"hvh"
|"vhv"
)
Default:"linear"
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
- simplify
Code:fig.update_traces(line_simplify=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected.
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='scatter'))
Type: number between or equal to 0 and 1.3
Default:1
Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- backoff
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scatter'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scatter'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- error_x
Code:fig.update_traces(error_x=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_x_array=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_x_arrayminus=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_x_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the stoke color of the error bars.
- copy_ystyle
Code:fig.update_traces(error_x_copy_ystyle=<VALUE>, selector=dict(type='scatter'))
Type: boolean - symmetric
Code:fig.update_traces(error_x_symmetric=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_x_thickness=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_x_traceref=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_x_tracerefminus=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_x_type=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_x_value=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_x_valueminus=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_x_visible=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_x_width=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_y
Code:fig.update_traces(error_y=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_y_array=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_y_arrayminus=<VALUE>, selector=dict(type='scatter'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_y_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the stoke color of the error bars.
- symmetric
Code:fig.update_traces(error_y_symmetric=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_y_thickness=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_y_traceref=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_y_tracerefminus=<VALUE>, selector=dict(type='scatter'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_y_type=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_y_value=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_y_valueminus=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_y_visible=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_y_width=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scatter'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scatter'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scatter'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='scatter'))
Type: boolean
Default:True
Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scatter'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("none"
|"tozeroy"
|"tozerox"
|"tonexty"
|"tonextx"
|"toself"
|"tonext"
)Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scatter'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.
- fillgradient
Code:fig.update_traces(fillgradient=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets a fill gradient. If not specified, the fillcolor is used instead.
- colorscale
Code:fig.update_traces(fillgradient_colorscale=<VALUE>, selector=dict(type='scatter'))
Type: colorscaleSets the fill gradient colors as a color scale. The color scale is interpreted as a gradient applied in the direction specified by "orientation", from the lowest to the highest value of the scatter plot along that axis, or from the center to the most distant point from it, if orientation is "radial".
- start
Code:fig.update_traces(fillgradient_start=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is "horizontal", the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is "radial".
- stop
Code:fig.update_traces(fillgradient_stop=<VALUE>, selector=dict(type='scatter'))
Type: numberSets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is "horizontal", the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is "radial".
- type
Code:fig.update_traces(fillgradient_type=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type/orientation of the color gradient for the fill. Defaults to "none".
- colorscale
- fillpattern
Code:fig.update_traces(fillpattern=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(fillpattern_bgcolor=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(fillpattern_fgcolor=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(fillpattern_fgopacity=<VALUE>, selector=dict(type='scatter'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(fillpattern_fillmode=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(fillpattern_shape=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(fillpattern_size=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(fillpattern_solidity=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scatter'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scatter'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scatter'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scatter'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scatter'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scatter'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scatter'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scatter'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='scatter'))
Type: flaglist string. Any combination of"points"
,"fills"
joined with a"+"
Examples:"points"
,"fills"
,"points+fills"
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
- stackgaps
Code:fig.update_traces(stackgaps=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("infer zero"
|"interpolate"
)
Default:"infer zero"
Only relevant when `stackgroup` is used, and only the first `stackgaps` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `False`. Determines how we handle locations at which other traces in this group have data but this one does not. With "infer zero" we insert a zero at these locations. With "interpolate" we linearly interpolate between existing values, and extrapolate a constant beyond the existing values.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='scatter'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scatter'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattergl traces
plotly.graph_objects.Scattergl
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data visualized as scatter point or lines is set in `x` and `y` using the WebGL plotting engine. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to a numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattergl'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattergl'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattergl'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattergl'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattergl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattergl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattergl'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Determines the drawing mode for this scatter trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='scattergl'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='scattergl'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='scattergl'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='scattergl'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattergl'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattergl'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattergl'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattergl'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattergl'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattergl'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattergl'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattergl'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattergl'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattergl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattergl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattergl'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattergl].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattergl].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattergl].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattergl].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattergl].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattergl'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattergl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattergl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattergl'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattergl'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scattergl'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scattergl'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scattergl'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scattergl'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scattergl'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattergl'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattergl'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattergl'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattergl'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("dash"
|"dashdot"
|"dot"
|"longdash"
|"longdashdot"
|"solid"
)
Default:"solid"
Sets the style of the lines.
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("linear"
|"hv"
|"vh"
|"hvh"
|"vhv"
)
Default:"linear"
Determines the line shape. The values correspond to step-wise line shapes.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattergl'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"bold"
)
Default:"normal"
Sets the weight (or boldness) of the font.
- color
- error_x
Code:fig.update_traces(error_x=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_x_array=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_x_arrayminus=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_x_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the stoke color of the error bars.
- copy_ystyle
Code:fig.update_traces(error_x_copy_ystyle=<VALUE>, selector=dict(type='scattergl'))
Type: boolean - symmetric
Code:fig.update_traces(error_x_symmetric=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_x_thickness=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_x_traceref=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_x_tracerefminus=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_x_type=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_x_value=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_x_valueminus=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_x_visible=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_x_width=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_y
Code:fig.update_traces(error_y=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_y_array=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_y_arrayminus=<VALUE>, selector=dict(type='scattergl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_y_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the stoke color of the error bars.
- symmetric
Code:fig.update_traces(error_y_symmetric=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_y_thickness=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_y_traceref=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_y_tracerefminus=<VALUE>, selector=dict(type='scattergl'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_y_type=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_y_value=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_y_valueminus=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_y_visible=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_y_width=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattergl'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattergl'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattergl'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("none"
|"tozeroy"
|"tozerox"
|"tonexty"
|"tonextx"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattergl'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattergl'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattergl'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattergl'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattergl'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattergl'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattergl'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
bar traces
plotly.graph_objects.Bar
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data visualized by the span of the bars is set in `y` if `orientation` is set to "v" (the default) and the labels are set in `x`. By setting `orientation` to "h", the roles are interchanged.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='bar'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='bar'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='bar'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='bar'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='bar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='bar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='bar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='bar'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='bar'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='bar'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='bar'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- base
Code:fig.update_traces(base=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringSets where the bar base is drawn (in position axis units). In "stack" or "relative" barmode, traces that set "base" will be excluded and drawn in "overlay" mode instead.
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 0Sets the bar width (in position axis units).
- offset
Code:fig.update_traces(offset=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbersShifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("inside"
|"outside"
|"auto"
|"none"
)
Default:"auto"
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. "auto" tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. If "none", no text appears.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `value` and `label`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='bar'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='bar'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='bar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='bar'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='bar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='bar'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='bar'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='bar'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='bar'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='bar'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='bar'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='bar'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='bar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='bar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='bar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='bar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='bar'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=bar].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=bar].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=bar].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=bar].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=bar].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='bar'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='bar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='bar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='bar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='bar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='bar'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='bar'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='bar'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='bar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- cornerradius
Code:fig.update_traces(marker_cornerradius=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringSets the rounding of corners. May be an integer number of pixels, or a percentage of bar width (as a string ending in %). Defaults to `layout.barcornerradius`. In stack or relative barmode, the first trace to set cornerradius is used for the whole stack.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='bar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='bar'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='bar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='bar'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='bar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='bar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the bars.
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='bar'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='bar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='bar'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- autocolorscale
- textangle
Code:fig.update_traces(textangle=<VALUE>, selector=dict(type='bar'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars.
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='bar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='bar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- error_x
Code:fig.update_traces(error_x=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_x_array=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_x_arrayminus=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_x_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the stoke color of the error bars.
- copy_ystyle
Code:fig.update_traces(error_x_copy_ystyle=<VALUE>, selector=dict(type='bar'))
Type: boolean - symmetric
Code:fig.update_traces(error_x_symmetric=<VALUE>, selector=dict(type='bar'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_x_thickness=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_x_traceref=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_x_tracerefminus=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_x_type=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_x_value=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_x_valueminus=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_x_visible=<VALUE>, selector=dict(type='bar'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_x_width=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_y
Code:fig.update_traces(error_y=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_y_array=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_y_arrayminus=<VALUE>, selector=dict(type='bar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_y_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the stoke color of the error bars.
- symmetric
Code:fig.update_traces(error_y_symmetric=<VALUE>, selector=dict(type='bar'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_y_thickness=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_y_traceref=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_y_tracerefminus=<VALUE>, selector=dict(type='bar'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_y_type=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_y_value=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_y_valueminus=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_y_visible=<VALUE>, selector=dict(type='bar'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_y_width=<VALUE>, selector=dict(type='bar'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='bar'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='bar'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='bar'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='bar'))
Type: boolean
Default:True
Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- constraintext
Code:fig.update_traces(constraintext=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("inside"
|"outside"
|"both"
|"none"
)
Default:"both"
Constrain the size of text inside or outside a bar to be no larger than the bar itself.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='bar'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='bar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='bar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='bar'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextanchor
Code:fig.update_traces(insidetextanchor=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("end"
|"middle"
|"start"
)
Default:"end"
Determines if texts are kept at center or start/end points in `textposition` "inside" mode.
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying inside the bar.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='bar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='bar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='bar'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying outside the bar.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='bar'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='bar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='bar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='bar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='bar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='bar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='bar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='bar'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='bar'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
pie traces
plotly.graph_objects.Pie
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. A data visualized by the sectors of the pie is set in `values`. The sector labels are set in `labels`. The sector colors are set in `marker.colors`
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='pie'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- title
Code:fig.update_traces(title=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(title_font=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(title_font_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors - family
Code:fig.update_traces(title_font_family=<VALUE>, selector=dict(type='pie'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(title_font_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(title_font_shadow=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(title_font_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(title_font_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(title_font_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(title_font_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(title_font_weight=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- position
Code:fig.update_traces(title_position=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle center"
|"bottom left"
|"bottom center"
|"bottom right"
)Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute.
- text
Code:fig.update_traces(title_text=<VALUE>, selector=dict(type='pie'))
Type: string
Default:""
Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='pie'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='pie'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='pie'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='pie'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='pie'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='pie'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='pie'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='pie'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='pie'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='pie'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='pie'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='pie'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- values
Code:fig.update_traces(values=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values of the sectors. If omitted, we count occurrences of each label.
- labels
Code:fig.update_traces(labels=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sector labels. If `labels` entries are duplicated, we sum associated `values` or simply count occurrences if `values` is not provided. For other array attributes (including color) we use the first non-empty entry among all occurrences of the label.
- dlabel
Code:fig.update_traces(dlabel=<VALUE>, selector=dict(type='pie'))
Type: number
Default:1
Sets the label step. See `label0` for more info.
- label0
Code:fig.update_traces(label0=<VALUE>, selector=dict(type='pie'))
Type: number
Default:0
Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step.
- pull
Code:fig.update_traces(pull=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers between or equal to 0 and 1
Default:0
Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("inside"
|"outside"
|"auto"
|"none"
)
Default:"auto"
Specifies the location of the `textinfo`.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"percent"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='pie'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='pie'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this pie trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='pie'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this pie trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='pie'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this pie trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='pie'))
Type: list
Default:[0, 1]
Sets the vertical domain of this pie trace (in plot fraction).
- column
- automargin
Code:fig.update_traces(automargin=<VALUE>, selector=dict(type='pie'))
Type: booleanDetermines whether outside text labels can push the margins.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- colors
Code:fig.update_traces(marker_colors=<VALUE>, selector=dict(type='pie'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors
Default:"#444"
Sets the color of the line enclosing each sector.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the line enclosing each sector.
- color
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='pie'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='pie'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='pie'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- colors
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='pie'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"percent"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"none"
Determines which trace information appear on the graph.
- direction
Code:fig.update_traces(direction=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("clockwise"
|"counterclockwise"
)
Default:"counterclockwise"
Specifies the direction at which succeeding sectors follow one another.
- hole
Code:fig.update_traces(hole=<VALUE>, selector=dict(type='pie'))
Type: number between or equal to 0 and 1
Default:0
Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='pie'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='pie'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='pie'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying inside the sector.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='pie'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- insidetextorientation
Code:fig.update_traces(insidetextorientation=<VALUE>, selector=dict(type='pie'))
Type: enumerated , one of ("horizontal"
|"radial"
|"tangential"
|"auto"
)
Default:"auto"
Controls the orientation of the text inside chart sectors. When set to "auto", text may be oriented in any direction in order to be as big as possible in the middle of a sector. The "horizontal" option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The "radial" option orients text along the radius of the sector. The "tangential" option orients text perpendicular to the radius of the sector.
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='pie'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying outside the sector.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='pie'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='pie'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='pie'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='pie'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='pie'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='pie'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='pie'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- rotation
Code:fig.update_traces(rotation=<VALUE>, selector=dict(type='pie'))
Type: angle
Default:0
Instead of the first slice starting at 12 o'clock, rotate to some other angle.
- scalegroup
Code:fig.update_traces(scalegroup=<VALUE>, selector=dict(type='pie'))
Type: string
Default:""
If there are multiple pie charts that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group.
- sort
Code:fig.update_traces(sort=<VALUE>, selector=dict(type='pie'))
Type: boolean
Default:True
Determines whether or not the sectors are reordered from largest to smallest.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='pie'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
heatmap traces
plotly.graph_objects.Heatmap
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data that describes the heatmap value-to-color mapping is set in `z`. Data in `z` can either be a 2D list of values (ragged or not) or a 1D array of values. In the case where `z` is a 2D list, say that `z` has N rows and M columns. Then, by default, the resulting heatmap will have N partitions along the y axis and M partitions along the x axis. In other words, the i-th row/ j-th column cell in `z` is mapped to the i-th partition of the y axis (starting from the bottom of the plot) and the j-th partition of the x-axis (starting from the left of the plot). This behavior can be flipped by using `transpose`. Moreover, `x` (`y`) can be provided with M or M+1 (N or N+1) elements. If M (N), then the coordinates correspond to the center of the heatmap cells and the cells have equal width. If M+1 (N+1), then the coordinates correspond to the edges of the heatmap cells. In the case where `z` is a 1D list, the x and y coordinates must be provided in `x` and `y` respectively to form data triplets.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='heatmap'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='heatmap'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='heatmap'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='heatmap'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='heatmap'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='heatmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='heatmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='heatmap'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='heatmap'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='heatmap'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- xtype
Code:fig.update_traces(xtype=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's x coordinates are given by "x" (the default behavior when `x` is provided). If "scaled", the heatmap's x coordinates are given by "x0" and "dx" (the default behavior when `x` is not provided).
- xgap
Code:fig.update_traces(xgap=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:0
Sets the horizontal gap (in pixels) between bricks.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='heatmap'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- ytype
Code:fig.update_traces(ytype=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's y coordinates are given by "y" (the default behavior when `y` is provided) If "scaled", the heatmap's y coordinates are given by "y0" and "dy" (the default behavior when `y` is not provided)
- ygap
Code:fig.update_traces(ygap=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:0
Sets the vertical gap (in pixels) between bricks.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z data.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text elements associated with each z value.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `x`, `y`, `z` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='heatmap'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='heatmap'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='heatmap'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='heatmap'))
Type: subplotidSets 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.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='heatmap'))
Type: color
Default:"auto"
- family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='heatmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 1
Default:"auto"
- style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='heatmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='heatmap'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='heatmap'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='heatmap'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='heatmap'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='heatmap'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='heatmap'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='heatmap'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='heatmap'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='heatmap'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='heatmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='heatmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='heatmap'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=heatmap].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=heatmap].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=heatmap].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=heatmap].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=heatmap].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='heatmap'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='heatmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='heatmap'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='heatmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='heatmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='heatmap'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='heatmap'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='heatmap'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='heatmap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='heatmap'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='heatmap'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='heatmap'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='heatmap'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='heatmap'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='heatmap'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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.By default the values are formatted using generic number format.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='heatmap'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='heatmap'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='heatmap'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- zsmooth
Code:fig.update_traces(zsmooth=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("fast"
|"best"
|False
)Picks a smoothing algorithm use to smooth `z` data.
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='heatmap'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to True if `z` is a one dimensional array and `zsmooth` is not False; otherwise it is defaulted to False.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='heatmap'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='heatmap'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='heatmap'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='heatmap'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='heatmap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='heatmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='heatmap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='heatmap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='heatmap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='heatmap'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoverongaps
Code:fig.update_traces(hoverongaps=<VALUE>, selector=dict(type='heatmap'))
Type: boolean
Default:True
Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them.
- transpose
Code:fig.update_traces(transpose=<VALUE>, selector=dict(type='heatmap'))
Type: booleanTransposes the z data.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='heatmap'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='heatmap'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
heatmapgl traces
plotly.graph_objects.Heatmapgl
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. "heatmapgl" trace is deprecated! Please consider switching to the "heatmap" or "image" trace types. Alternatively you could contribute/sponsor rewriting this trace type based on cartesian features and using regl framework. WebGL version of the heatmap trace type.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='heatmapgl'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='heatmapgl'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='heatmapgl'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='heatmapgl'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='heatmapgl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='heatmapgl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='heatmapgl'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='heatmapgl'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- xtype
Code:fig.update_traces(xtype=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's x coordinates are given by "x" (the default behavior when `x` is provided). If "scaled", the heatmap's x coordinates are given by "x0" and "dx" (the default behavior when `x` is not provided).
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='heatmapgl'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- ytype
Code:fig.update_traces(ytype=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's y coordinates are given by "y" (the default behavior when `y` is provided) If "scaled", the heatmap's y coordinates are given by "y0" and "dy" (the default behavior when `y` is not provided)
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z data.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text elements associated with each z value.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='heatmapgl'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='heatmapgl'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='heatmapgl'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='heatmapgl'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='heatmapgl'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='heatmapgl'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='heatmapgl'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='heatmapgl'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='heatmapgl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='heatmapgl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='heatmapgl'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=heatmapgl].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=heatmapgl].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=heatmapgl].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=heatmapgl].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=heatmapgl].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='heatmapgl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='heatmapgl'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='heatmapgl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='heatmapgl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='heatmapgl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='heatmapgl'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='heatmapgl'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='heatmapgl'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='heatmapgl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='heatmapgl'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='heatmapgl'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='heatmapgl'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='heatmapgl'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='heatmapgl'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='heatmapgl'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='heatmapgl'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='heatmapgl'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- zsmooth
Code:fig.update_traces(zsmooth=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated , one of ("fast"
|False
)
Default:"fast"
Picks a smoothing algorithm use to smooth `z` data.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='heatmapgl'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='heatmapgl'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='heatmapgl'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='heatmapgl'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='heatmapgl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='heatmapgl'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='heatmapgl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='heatmapgl'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- transpose
Code:fig.update_traces(transpose=<VALUE>, selector=dict(type='heatmapgl'))
Type: booleanTransposes the z data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='heatmapgl'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
image traces
plotly.graph_objects.Image
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Display an image, i.e. data on a 2D regular raster. By default, when an image is displayed in a subplot, its y axis will be reversed (ie. `autorange: 'reversed'`), constrained to the domain (ie. `constrain: 'domain'`) and it will have the same scale as its x axis (ie. `scaleanchor: 'x,`) in order for pixels to be rendered as squares.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='image'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='image'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='image'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='image'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='image'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='image'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='image'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='image'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='image'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='image'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='image'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='image'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='image'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='image'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='image'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='image'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='image'))
Type: number or categorical coordinate string
Default:0
Set the image's x position. The left edge of the image (or the right edge if the x axis is reversed or dx is negative) will be found at xmin=x0-dx/2
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='image'))
Type: number
Default:1
Set the pixel's horizontal size.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='image'))
Type: number or categorical coordinate string
Default:0
Set the image's y position. The top edge of the image (or the bottom edge if the y axis is NOT reversed or if dy is negative) will be found at ymin=y0-dy/2. By default when an image trace is included, the y axis will be reversed so that the image is right-side-up, but you can disable this by setting yaxis.autorange=True or by providing an explicit y axis range.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='image'))
Type: number
Default:1
Set the pixel's vertical size
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='image'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color.
- source
Code:fig.update_traces(source=<VALUE>, selector=dict(type='image'))
Type: stringSpecifies the data URI of the image to be visualized. The URI consists of "data:image/[<media subtype>][;base64],<data>"
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='image'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text elements associated with each z value.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='image'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='image'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"color"
,"name"
,"text"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"x+y+z+text+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='image'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `z`, `color` and `colormodel`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='image'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='image'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='image'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='image'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- colormodel
Code:fig.update_traces(colormodel=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of ("rgb"
|"rgba"
|"rgba256"
|"hsl"
|"hsla"
)Color model used to map the numerical color components described in `z` into colors. If `source` is specified, this attribute will be set to `rgba256` otherwise it defaults to `rgb`.
- zmax
Code:fig.update_traces(zmax=list(...), selector=dict(type='image'))
Type: listArray defining the higher bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [255, 255, 255]. For the `rgba` colormodel, it is [255, 255, 255, 1]. For the `rgba256` colormodel, it is [255, 255, 255, 255]. For the `hsl` colormodel, it is [360, 100, 100]. For the `hsla` colormodel, it is [360, 100, 100, 1].
- zmin
Code:fig.update_traces(zmin=list(...), selector=dict(type='image'))
Type: listArray defining the lower bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [0, 0, 0]. For the `rgba` colormodel, it is [0, 0, 0, 0]. For the `rgba256` colormodel, it is [0, 0, 0, 0]. For the `hsl` colormodel, it is [0, 0, 0]. For the `hsla` colormodel, it is [0, 0, 0, 0].
- zsmooth
Code:fig.update_traces(zsmooth=<VALUE>, selector=dict(type='image'))
Type: enumerated , one of ("fast"
|False
)Picks a smoothing algorithm used to smooth `z` data. This only applies for image traces that use the `source` attribute.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='image'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='image'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='image'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='image'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='image'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='image'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='image'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='image'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='image'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='image'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='image'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='image'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='image'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='image'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='image'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='image'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
contour traces
plotly.graph_objects.Contour
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data from which contour lines are computed is set in `z`. Data in `z` must be a 2D list of numbers. Say that `z` has N rows and M columns, then by default, these N rows correspond to N y coordinates (set in `y` or auto-generated) and the M columns correspond to M x coordinates (set in `x` or auto-generated). By setting `transpose` to "True", the above behavior is flipped.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='contour'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='contour'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='contour'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='contour'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='contour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='contour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='contour'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='contour'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='contour'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- xtype
Code:fig.update_traces(xtype=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's x coordinates are given by "x" (the default behavior when `x` is provided). If "scaled", the heatmap's x coordinates are given by "x0" and "dx" (the default behavior when `x` is not provided).
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='contour'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- ytype
Code:fig.update_traces(ytype=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's y coordinates are given by "y" (the default behavior when `y` is provided) If "scaled", the heatmap's y coordinates are given by "y0" and "dy" (the default behavior when `y` is not provided)
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z data.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text elements associated with each z value.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
For this trace it only has an effect if `coloring` is set to "heatmap". Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `x`, `y`, `z` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='contour'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='contour'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='contour'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='contour'))
Type: subplotidSets 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.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='contour'))
Type: colorSets the color of the contour level. Has no effect if `contours.coloring` is set to "lines".
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='contour'))
Type: number between or equal to 0 and 1.3
Default:1
Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0Sets the contour line width in (in px) Defaults to "0.5" when `contours.type` is "levels". Defaults to "2" when `contour.type` is "constraint".
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.For this trace it only has an effect if `coloring` is set to "heatmap". Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='contour'))
Type: color
Default:"auto"
- family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='contour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 1
Default:"auto"
- style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='contour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='contour'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='contour'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='contour'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='contour'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='contour'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='contour'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='contour'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='contour'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='contour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='contour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='contour'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=contour].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=contour].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=contour].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=contour].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=contour].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='contour'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='contour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='contour'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='contour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='contour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='contour'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='contour'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='contour'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='contour'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='contour'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='contour'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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.By default the values are formatted using generic number format.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='contour'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='contour'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='contour'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- autocontour
Code:fig.update_traces(autocontour=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not the contour level attributes are picked by an algorithm. If "True", the number of contour levels can be set in `ncontours`. If "False", set the contour level attributes in `contours`.
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='contour'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to True if `z` is a one dimensional array otherwise it is defaulted to False.
- contours
Code:fig.update_traces(contours=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- coloring
Code:fig.update_traces(contours_coloring=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("fill"
|"heatmap"
|"lines"
|"none"
)
Default:"fill"
Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.
- end
Code:fig.update_traces(contours_end=<VALUE>, selector=dict(type='contour'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- labelfont
Code:fig.update_traces(contours_labelfont=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.
- color
Code:fig.update_traces(contours_labelfont_color=<VALUE>, selector=dict(type='contour'))
Type: color - family
Code:fig.update_traces(contours_labelfont_family=<VALUE>, selector=dict(type='contour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(contours_labelfont_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(contours_labelfont_shadow=<VALUE>, selector=dict(type='contour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(contours_labelfont_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(contours_labelfont_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(contours_labelfont_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(contours_labelfont_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(contours_labelfont_weight=<VALUE>, selector=dict(type='contour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- labelformat
Code:fig.update_traces(contours_labelformat=<VALUE>, selector=dict(type='contour'))
Type: string
Default:""
Sets the contour label formatting rule using 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.
- operation
Code:fig.update_traces(contours_operation=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("="
|"<"
|">="
|">"
|"<="
|"[]"
|"()"
|"[)"
|"(]"
|"]["
|")("
|"]("
|")["
)
Default:"="
Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.
- showlabels
Code:fig.update_traces(contours_showlabels=<VALUE>, selector=dict(type='contour'))
Type: booleanDetermines whether to label the contour lines with their values.
- showlines
Code:fig.update_traces(contours_showlines=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to "fill".
- size
Code:fig.update_traces(contours_size=<VALUE>, selector=dict(type='contour'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_start=<VALUE>, selector=dict(type='contour'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- type
Code:fig.update_traces(contours_type=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("levels"
|"constraint"
)
Default:"levels"
If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters.
- value
Code:fig.update_traces(contours_value=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate string
Default:0
Sets the value or values of the constraint boundary. When `operation` is set to one of the comparison values (=,<,>=,>,<=) "value" is expected to be a number. When `operation` is set to one of the interval values ([],(),[),(],][,)(,](,)[) "value" is expected to be an array of two numbers where the first is the lower bound and the second is the upper bound.
- coloring
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='contour'))
Type: colorSets the fill color if `contours.type` is "constraint". Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='contour'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='contour'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='contour'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='contour'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='contour'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='contour'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='contour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='contour'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='contour'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='contour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='contour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='contour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='contour'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='contour'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoverongaps
Code:fig.update_traces(hoverongaps=<VALUE>, selector=dict(type='contour'))
Type: boolean
Default:True
Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them.
- ncontours
Code:fig.update_traces(ncontours=<VALUE>, selector=dict(type='contour'))
Type: integer greater than or equal to 1
Default:15
Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "True" or if `contours.size` is missing.
- transpose
Code:fig.update_traces(transpose=<VALUE>, selector=dict(type='contour'))
Type: booleanTransposes the z data.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='contour'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='contour'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
table traces
plotly.graph_objects.Table
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Table view for detailed data viewing. The data are arranged in a grid of rows and columns. Most styling can be specified for columns, rows or individual cells. Table is using a column-major order, ie. the grid is represented as a vector of column vectors.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='table'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='table'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='table'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='table'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='table'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='table'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='table'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='table'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='table'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='table'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='table'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='table'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='table'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='table'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='table'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- columnorder
Code:fig.update_traces(columnorder=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Specifies the rendered order of the data columns; for example, a value `2` at position `0` means that column index `0` in the data will be rendered as the third column, as columns have an index base of zero.
- columnwidth
Code:fig.update_traces(columnwidth=<VALUE>, selector=dict(type='table'))
Type: number or array of numbersThe width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='table'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='table'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='table'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this table trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='table'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this table trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='table'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this table trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='table'))
Type: list
Default:[0, 1]
Sets the vertical domain of this table trace (in plot fraction).
- column
- cells
Code:fig.update_traces(cells=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(cells_align=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("left"
|"center"
|"right"
)
Default:"center"
Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.
- fill
Code:fig.update_traces(cells_fill=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(cells_fill_color=<VALUE>, selector=dict(type='table'))
Type: color or array of colors
Default:"white"
Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors.
- color
- font
Code:fig.update_traces(cells_font=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(cells_font_color=<VALUE>, selector=dict(type='table'))
Type: color or array of colors - family
Code:fig.update_traces(cells_font_family=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(cells_font_lineposition=<VALUE>, selector=dict(type='table'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(cells_font_shadow=<VALUE>, selector=dict(type='table'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(cells_font_size=<VALUE>, selector=dict(type='table'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(cells_font_style=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(cells_font_textcase=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(cells_font_variant=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(cells_font_weight=<VALUE>, selector=dict(type='table'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- format
Code:fig.update_traces(cells_format=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Sets the cell value formatting rule using 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.
- height
Code:fig.update_traces(cells_height=<VALUE>, selector=dict(type='table'))
Type: number
Default:20
The height of cells.
- line
Code:fig.update_traces(cells_line=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below. - prefix
Code:fig.update_traces(cells_prefix=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsPrefix for cell values.
- suffix
Code:fig.update_traces(cells_suffix=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsSuffix for cell values.
- values
Code:fig.update_traces(cells_values=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.
- align
- header
Code:fig.update_traces(header=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(header_align=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("left"
|"center"
|"right"
)
Default:"center"
Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.
- fill
Code:fig.update_traces(header_fill=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(header_fill_color=<VALUE>, selector=dict(type='table'))
Type: color or array of colors
Default:"white"
Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors.
- color
- font
Code:fig.update_traces(header_font=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(header_font_color=<VALUE>, selector=dict(type='table'))
Type: color or array of colors - family
Code:fig.update_traces(header_font_family=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(header_font_lineposition=<VALUE>, selector=dict(type='table'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(header_font_shadow=<VALUE>, selector=dict(type='table'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(header_font_size=<VALUE>, selector=dict(type='table'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(header_font_style=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(header_font_textcase=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(header_font_variant=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(header_font_weight=<VALUE>, selector=dict(type='table'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- format
Code:fig.update_traces(header_format=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Sets the cell value formatting rule using 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.
- height
Code:fig.update_traces(header_height=<VALUE>, selector=dict(type='table'))
Type: number
Default:28
The height of cells.
- line
Code:fig.update_traces(header_line=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below. - prefix
Code:fig.update_traces(header_prefix=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsPrefix for cell values.
- suffix
Code:fig.update_traces(header_suffix=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsSuffix for cell values.
- values
Code:fig.update_traces(header_values=<VALUE>, selector=dict(type='table'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.
- align
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='table'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='table'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='table'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='table'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='table'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='table'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='table'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='table'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='table'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='table'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='table'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='table'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
box traces
plotly.graph_objects.Box
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2, i.e. the median) is marked by a line inside the box. The fences grow outward from the boxes' edges, by default they span +/- 1.5 times the interquartile range (IQR: Q3-Q1), The sample mean and standard deviation as well as notches and the sample, outlier and suspected outliers points can be optionally added to the box plot. The values and positions corresponding to each boxes can be input using two signatures. The first signature expects users to supply the sample values in the `y` data array for vertical boxes (`x` for horizontal boxes). By supplying an `x` (`y`) array, one box per distinct `x` (`y`) value is drawn If no `x` (`y`) list is provided, a single box is drawn. In this case, the box is positioned with the trace `name` or with `x0` (`y0`) if provided. The second signature expects users to supply the boxes corresponding Q1, median and Q3 statistics in the `q1`, `median` and `q3` data arrays respectively. Other box features relying on statistics namely `lowerfence`, `upperfence`, `notchspan` can be set directly by the users. To have plotly compute them or to show sample points besides the boxes, users can set the `y` data array for vertical boxes (`x` for horizontal boxes) to a 2D array with the outer length corresponding to the number of boxes in the traces and the inner length corresponding the sample size.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='box'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover. For box traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='box'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='box'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='box'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='box'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='box'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='box'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='box'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='box'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='box'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x sample data or coordinates. See overview for more info.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringSets the x coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='box'))
Type: numberSets the x coordinate step for multi-box traces set using q1/median/q3.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y sample data or coordinates. See overview for more info.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringSets the y coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='box'))
Type: numberSets the y coordinate step for multi-box traces set using q1/median/q3.
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:0
Sets the width of the box in data coordinate If "0" (default value) the width is automatically selected based on the positions of other box traces in the same subplot.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='box'))
Type: string or array of strings
Default:""
Sets the text elements associated with each sample value. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='box'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='box'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='box'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='box'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='box'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the box(es). If "v" ("h"), the distribution is visualized along the vertical (horizontal).
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='box'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='box'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='box'))
Type: colorSets 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.cmin` and `marker.cmax` if set.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='box'))
Type: color
Default:"#444"
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` and `marker.line.cmax` if set.
- outliercolor
Code:fig.update_traces(marker_line_outliercolor=<VALUE>, selector=dict(type='box'))
Type: colorSets the border line color of the outlier sample points. Defaults to marker.color
- outlierwidth
Code:fig.update_traces(marker_line_outlierwidth=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:1
Sets the border line width (in px) of the outlier sample points.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- color
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1
Default:1
Sets the marker opacity.
- outliercolor
Code:fig.update_traces(marker_outliercolor=<VALUE>, selector=dict(type='box'))
Type: color
Default:"rgba(0, 0, 0, 0)"
Sets the color of the outlier sample points.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:6
Sets the marker size (in px).
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='box'))
Type: colorSets the color of line bounding the box(es).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:2
Sets the width (in px) of line bounding the box(es).
- color
- boxmean
Code:fig.update_traces(boxmean=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of (True
|"sd"
|False
)If "True", the mean of the box(es)' underlying distribution is drawn as a dashed line inside the box(es). If "sd" the standard deviation is also drawn. Defaults to "True" when `mean` is set. Defaults to "sd" when `sd` is set Otherwise defaults to "False".
- boxpoints
Code:fig.update_traces(boxpoints=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("all"
|"outliers"
|"suspectedoutliers"
|False
)If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4"Q1-3"Q3 or greater than 4"Q3-3"Q1 are highlighted (see `outliercolor`) If "all", all sample points are shown If "False", only the box(es) are shown with no sample points Defaults to "suspectedoutliers" when `marker.outliercolor` or `marker.line.outliercolor` is set. Defaults to "all" under the q1/median/q3 signature. Otherwise defaults to "outliers".
- notched
Code:fig.update_traces(notched=<VALUE>, selector=dict(type='box'))
Type: booleanDetermines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 " IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to "False" unless `notchwidth` or `notchspan` is set.
- notchwidth
Code:fig.update_traces(notchwidth=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 0.5
Default:0.25
Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es).
- showwhiskers
Code:fig.update_traces(showwhiskers=<VALUE>, selector=dict(type='box'))
Type: booleanDetermines whether or not whiskers are visible. Defaults to True for `sizemode` "quartiles", False for "sd".
- whiskerwidth
Code:fig.update_traces(whiskerwidth=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1
Default:0.5
Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es).
- q1
Code:fig.update_traces(q1=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Quartile 1 values. There should be as many items as the number of boxes desired.
- median
Code:fig.update_traces(median=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the median values. There should be as many items as the number of boxes desired.
- q3
Code:fig.update_traces(q3=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Quartile 3 values. There should be as many items as the number of boxes desired.
- lowerfence
Code:fig.update_traces(lowerfence=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the lower fence values. There should be as many items as the number of boxes desired. This attribute has effect only under the q1/median/q3 signature. If `lowerfence` is not provided but a sample (in `y` or `x`) is set, we compute the lower as the last sample point below 1.5 times the IQR.
- upperfence
Code:fig.update_traces(upperfence=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the upper fence values. There should be as many items as the number of boxes desired. This attribute has effect only under the q1/median/q3 signature. If `upperfence` is not provided but a sample (in `y` or `x`) is set, we compute the upper as the last sample point above 1.5 times the IQR.
- notchspan
Code:fig.update_traces(notchspan=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the notch span from the boxes' `median` values. There should be as many items as the number of boxes desired. This attribute has effect only under the q1/median/q3 signature. If `notchspan` is not provided but a sample (in `y` or `x`) is set, we compute it as 1.57 " IQR / sqrt(N), where N is the sample size.
- mean
Code:fig.update_traces(mean=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the mean values. There should be as many items as the number of boxes desired. This attribute has effect only under the q1/median/q3 signature. If `mean` is not provided but a sample (in `y` or `x`) is set, we compute the mean for each box using the sample values.
- sd
Code:fig.update_traces(sd=<VALUE>, selector=dict(type='box'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the standard deviation values. There should be as many items as the number of boxes desired. This attribute has effect only under the q1/median/q3 signature. If `sd` is not provided but a sample (in `y` or `x`) is set, we compute the standard deviation for each box using the sample values.
- sdmultiple
Code:fig.update_traces(sdmultiple=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0
Default:1
Scales the box size when sizemode=sd Allowing boxes to be drawn across any stddev range For example 1-stddev, 3-stddev, 5-stddev
- quartilemethod
Code:fig.update_traces(quartilemethod=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("linear"
|"exclusive"
|"inclusive"
)
Default:"linear"
Sets the method used to compute the sample's Q1 and Q3 quartiles. The "linear" method uses the 25th percentile for Q1 and 75th percentile for Q3 as computed using method #10 (listed on http://jse.amstat.org/v14n3/langford.html). The "exclusive" method uses the median to divide the ordered dataset into two halves if the sample is odd, it does not include the median in either half - Q1 is then the median of the lower half and Q3 the median of the upper half. The "inclusive" method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='box'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='box'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='box'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- marker
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='box'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='box'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='box'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='box'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='box'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='box'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='box'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='box'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='box'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='box'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='box'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='box'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='box'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='box'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='box'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='box'))
Type: flaglist string. Any combination of"boxes"
,"points"
joined with a"+"
Examples:"boxes"
,"points"
,"boxes+points"
Default:"boxes+points"
Do the hover effects highlight individual boxes or sample points or both?
- pointpos
Code:fig.update_traces(pointpos=<VALUE>, selector=dict(type='box'))
Type: number between or equal to -2 and 2Sets the position of the sample points in relation to the box(es). If "0", the sample points are places over the center of the box(es). Positive (negative) values correspond to positions to the right (left) for vertical boxes and above (below) for horizontal boxes
- jitter
Code:fig.update_traces(jitter=<VALUE>, selector=dict(type='box'))
Type: number between or equal to 0 and 1Sets the amount of jitter in the sample points drawn. If "0", the sample points align along the distribution axis. If "1", the sample points are drawn in a random jitter of width equal to the width of the box(es).
- sizemode
Code:fig.update_traces(sizemode=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("quartiles"
|"sd"
)
Default:"quartiles"
Sets the upper and lower bound for the boxes quartiles means box is drawn between Q1 and Q3 SD means the box is drawn between Mean +- Standard Deviation Argument sdmultiple (default 1) to scale the box size So it could be drawn 1-stddev, 3-stddev etc
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='box'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='box'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
violin traces
plotly.graph_objects.Violin
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. In vertical (horizontal) violin plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one violin per distinct x (y) value is drawn If no `x` (`y`) list is provided, a single violin is drawn. That violin position is then positioned with with `name` or with `x0` (`y0`) if provided.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='violin'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover. For violin traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical. Note that the trace name is also used as a default value for attribute `scalegroup` (please see its description for details).
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='violin'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='violin'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='violin'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='violin'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='violin'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='violin'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='violin'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='violin'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='violin'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='violin'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='violin'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x sample data or coordinates. See overview for more info.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='violin'))
Type: number or categorical coordinate stringSets the x coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='violin'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y sample data or coordinates. See overview for more info.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='violin'))
Type: number or categorical coordinate stringSets the y coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info.
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0
Default:0
Sets the width of the violin in data coordinates. If "0" (default value) the width is automatically selected based on the positions of other violin traces in the same subplot.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='violin'))
Type: string or array of strings
Default:""
Sets the text elements associated with each sample value. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='violin'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='violin'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='violin'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='violin'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='violin'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='violin'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='violin'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the violin(s). If "v" ("h"), the distribution is visualized along the vertical (horizontal).
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='violin'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets 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.cmin` and `marker.cmax` if set.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='violin'))
Type: color
Default:"#444"
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` and `marker.line.cmax` if set.
- outliercolor
Code:fig.update_traces(marker_line_outliercolor=<VALUE>, selector=dict(type='violin'))
Type: colorSets the border line color of the outlier sample points. Defaults to marker.color
- outlierwidth
Code:fig.update_traces(marker_line_outlierwidth=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0
Default:1
Sets the border line width (in px) of the outlier sample points.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- color
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1
Default:1
Sets the marker opacity.
- outliercolor
Code:fig.update_traces(marker_outliercolor=<VALUE>, selector=dict(type='violin'))
Type: color
Default:"rgba(0, 0, 0, 0)"
Sets the color of the outlier sample points.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0
Default:6
Sets the marker size (in px).
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets the color of line bounding the violin(s).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0
Default:2
Sets the width (in px) of line bounding the violin(s).
- color
- box
Code:fig.update_traces(box=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_traces(box_fillcolor=<VALUE>, selector=dict(type='violin'))
Type: colorSets the inner box plot fill color.
- line
Code:fig.update_traces(box_line=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(box_line_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets the inner box plot bounding line color.
- width
Code:fig.update_traces(box_line_width=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the inner box plot bounding line width.
- color
- visible
Code:fig.update_traces(box_visible=<VALUE>, selector=dict(type='violin'))
Type: booleanDetermines if an miniature box plot is drawn inside the violins.
- width
Code:fig.update_traces(box_width=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1
Default:0.25
Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins.
- fillcolor
- quartilemethod
Code:fig.update_traces(quartilemethod=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("linear"
|"exclusive"
|"inclusive"
)
Default:"linear"
Sets the method used to compute the sample's Q1 and Q3 quartiles. The "linear" method uses the 25th percentile for Q1 and 75th percentile for Q3 as computed using method #10 (listed on http://jse.amstat.org/v14n3/langford.html). The "exclusive" method uses the median to divide the ordered dataset into two halves if the sample is odd, it does not include the median in either half - Q1 is then the median of the lower half and Q3 the median of the upper half. The "inclusive" method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='violin'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- marker
- bandwidth
Code:fig.update_traces(bandwidth=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is determined by Silverman's rule of thumb.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='violin'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='violin'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='violin'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='violin'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='violin'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='violin'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='violin'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='violin'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='violin'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='violin'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='violin'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='violin'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='violin'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='violin'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='violin'))
Type: flaglist string. Any combination of"violins"
,"points"
,"kde"
joined with a"+"
OR"all"
.
Examples:"violins"
,"points"
,"violins+points"
,"violins+points+kde"
,"all"
Default:"violins+points+kde"
Do the hover effects highlight individual violins or sample points or the kernel density estimate or any combination of them?
- pointpos
Code:fig.update_traces(pointpos=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to -2 and 2Sets the position of the sample points in relation to the violins. If "0", the sample points are places over the center of the violins. Positive (negative) values correspond to positions to the right (left) for vertical violins and above (below) for horizontal violins.
- jitter
Code:fig.update_traces(jitter=<VALUE>, selector=dict(type='violin'))
Type: number between or equal to 0 and 1Sets the amount of jitter in the sample points drawn. If "0", the sample points align along the distribution axis. If "1", the sample points are drawn in a random jitter of width equal to the width of the violins.
- meanline
Code:fig.update_traces(meanline=dict(...), selector=dict(type='violin'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(meanline_color=<VALUE>, selector=dict(type='violin'))
Type: colorSets the mean line color.
- visible
Code:fig.update_traces(meanline_visible=<VALUE>, selector=dict(type='violin'))
Type: booleanDetermines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other.
- width
Code:fig.update_traces(meanline_width=<VALUE>, selector=dict(type='violin'))
Type: number greater than or equal to 0Sets the mean line width.
- color
- points
Code:fig.update_traces(points=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("all"
|"outliers"
|"suspectedoutliers"
|False
)If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4"Q1-3"Q3 or greater than 4"Q3-3"Q1 are highlighted (see `outliercolor`) If "all", all sample points are shown If "False", only the violins are shown with no sample points. Defaults to "suspectedoutliers" when `marker.outliercolor` or `marker.line.outliercolor` is set, otherwise defaults to "outliers".
- scalegroup
Code:fig.update_traces(scalegroup=<VALUE>, selector=dict(type='violin'))
Type: string
Default:""
If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this case, violins with the same names will be linked together
- scalemode
Code:fig.update_traces(scalemode=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("width"
|"count"
)
Default:"width"
Sets the metric by which the width of each violin is determined. "width" means each violin has the same (max) width "count" means the violins are scaled by the number of sample points making up each violin.
- side
Code:fig.update_traces(side=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("both"
|"positive"
|"negative"
)
Default:"both"
Determines on which side of the position value the density function making up one half of a violin is plotted. Useful when comparing two violin traces under "overlay" mode, where one trace has `side` set to "positive" and the other to "negative".
- span
Code:fig.update_traces(span=list(...), selector=dict(type='violin'))
Type: listSets the span in data space for which the density function will be computed. Has an effect only when `spanmode` is set to "manual".
- spanmode
Code:fig.update_traces(spanmode=<VALUE>, selector=dict(type='violin'))
Type: enumerated , one of ("soft"
|"hard"
|"manual"
)
Default:"soft"
Sets the method by which the span in data space where the density function will be computed. "soft" means the span goes from the sample's minimum value minus two bandwidths to the sample's maximum value plus two bandwidths. "hard" means the span goes from the sample's minimum to its maximum value. For custom span settings, use mode "manual" and fill in the `span` attribute.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='violin'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
histogram traces
plotly.graph_objects.Histogram
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The sample data from which statistics are computed is set in `x` for vertically spanning histograms and in `y` for horizontally spanning histograms. Binning options are set `xbins` and `ybins` respectively if no aggregation data is provided.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='histogram'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='histogram'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='histogram'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='histogram'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='histogram'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the x axis.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the y axis.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='histogram'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("inside"
|"outside"
|"auto"
|"none"
)
Default:"auto"
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. "auto" tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. If "none", no text appears.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `label` and `value`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='histogram'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='histogram'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `binNumber` 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='histogram'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='histogram'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).
- histfunc
Code:fig.update_traces(histfunc=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("count"
|"sum"
|"avg"
|"min"
|"max"
)
Default:"count"
Specifies the binning function used for this histogram trace. If "count", the histogram values are computed by counting the number of values lying inside each bin. If "sum", "avg", "min", "max", the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively.
- histnorm
Code:fig.update_traces(histnorm=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of (""
|"percent"
|"probability"
|"density"
|"probability density"
)
Default:""
Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- nbinsx
Code:fig.update_traces(nbinsx=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided.
- nbinsy
Code:fig.update_traces(nbinsy=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided.
- autobinx
Code:fig.update_traces(autobinx=<VALUE>, selector=dict(type='histogram'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: True` or `False` and will update `xbins` accordingly before deleting `autobinx` from the trace.
- autobiny
Code:fig.update_traces(autobiny=<VALUE>, selector=dict(type='histogram'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: True` or `False` and will update `ybins` accordingly before deleting `autobiny` from the trace.
- bingroup
Code:fig.update_traces(bingroup=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same "orientation" under `barmode` "stack", "relative" and "group" are forced into the same bingroup, Using `bingroup`, traces under `barmode` "overlay" and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d" trace can share the same `bingroup`
- xbins
Code:fig.update_traces(xbins=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(xbins_end=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the end value for the x axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(xbins_size=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the size of each x axis bin. Default behavior: If `nbinsx` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsx` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1). If multiple non-overlaying histograms share a subplot, the first explicit `size` is used and all others discarded. If no `size` is provided,the sample data from all traces is combined to determine `size` as described above.
- start
Code:fig.update_traces(xbins_start=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the starting value for the x axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5. If multiple non-overlaying histograms share a subplot, the first explicit `start` is used exactly and all others are shifted down (if necessary) to differ from that one by an integer number of bins.
- end
- ybins
Code:fig.update_traces(ybins=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(ybins_end=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(ybins_size=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1). If multiple non-overlaying histograms share a subplot, the first explicit `size` is used and all others discarded. If no `size` is provided,the sample data from all traces is combined to determine `size` as described above.
- start
Code:fig.update_traces(ybins_start=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5. If multiple non-overlaying histograms share a subplot, the first explicit `start` is used exactly and all others are shifted down (if necessary) to differ from that one by an integer number of bins.
- end
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='histogram'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='histogram'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='histogram'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='histogram'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='histogram'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='histogram'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='histogram'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='histogram'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=histogram].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=histogram].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=histogram].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=histogram].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=histogram].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='histogram'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='histogram'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- cornerradius
Code:fig.update_traces(marker_cornerradius=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringSets the rounding of corners. May be an integer number of pixels, or a percentage of bar width (as a string ending in %). Defaults to `layout.barcornerradius`. In stack or relative barmode, the first trace to set cornerradius is used for the whole stack.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='histogram'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='histogram'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='histogram'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='histogram'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='histogram'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='histogram'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the bars.
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='histogram'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='histogram'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='histogram'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='histogram'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='histogram'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='histogram'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- autocolorscale
- textangle
Code:fig.update_traces(textangle=<VALUE>, selector=dict(type='histogram'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars.
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- error_x
Code:fig.update_traces(error_x=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_x_array=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_x_arrayminus=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_x_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the stoke color of the error bars.
- copy_ystyle
Code:fig.update_traces(error_x_copy_ystyle=<VALUE>, selector=dict(type='histogram'))
Type: boolean - symmetric
Code:fig.update_traces(error_x_symmetric=<VALUE>, selector=dict(type='histogram'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_x_thickness=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_x_traceref=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_x_tracerefminus=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_x_type=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_x_value=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_x_valueminus=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_x_visible=<VALUE>, selector=dict(type='histogram'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_x_width=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_y
Code:fig.update_traces(error_y=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_y_array=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_y_arrayminus=<VALUE>, selector=dict(type='histogram'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_y_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the stoke color of the error bars.
- symmetric
Code:fig.update_traces(error_y_symmetric=<VALUE>, selector=dict(type='histogram'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_y_thickness=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_y_traceref=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_y_tracerefminus=<VALUE>, selector=dict(type='histogram'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_y_type=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_y_value=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_y_valueminus=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_y_visible=<VALUE>, selector=dict(type='histogram'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_y_width=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='histogram'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='histogram'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='histogram'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='histogram'))
Type: boolean
Default:True
Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- constraintext
Code:fig.update_traces(constraintext=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("inside"
|"outside"
|"both"
|"none"
)
Default:"both"
Constrain the size of text inside or outside a bar to be no larger than the bar itself.
- cumulative
Code:fig.update_traces(cumulative=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- currentbin
Code:fig.update_traces(cumulative_currentbin=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("include"
|"exclude"
|"half"
)
Default:"include"
Only applies if cumulative is enabled. Sets whether the current bin is included, excluded, or has half of its value included in the current cumulative value. "include" is the default for compatibility with various other tools, however it introduces a half-bin bias to the results. "exclude" makes the opposite half-bin bias, and "half" removes it.
- direction
Code:fig.update_traces(cumulative_direction=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("increasing"
|"decreasing"
)
Default:"increasing"
Only applies if cumulative is enabled. If "increasing" (default) we sum all prior bins, so the result increases from left to right. If "decreasing" we sum later bins so the result decreases from left to right.
- enabled
Code:fig.update_traces(cumulative_enabled=<VALUE>, selector=dict(type='histogram'))
Type: booleanIf True, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the "density" `histnorm` settings behave the same as their equivalents without "density": "" and "density" both rise to the number of data points, and "probability" and "probability density" both rise to the number of sample points.
- currentbin
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='histogram'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='histogram'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='histogram'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='histogram'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='histogram'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextanchor
Code:fig.update_traces(insidetextanchor=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("end"
|"middle"
|"start"
)
Default:"end"
Determines if texts are kept at center or start/end points in `textposition` "inside" mode.
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying inside the bar.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='histogram'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying outside the bar.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='histogram'))
Type: color - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='histogram'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='histogram'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='histogram'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='histogram'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='histogram'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='histogram'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='histogram'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
histogram2d traces
plotly.graph_objects.Histogram2D
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The sample data from which statistics are computed is set in `x` and `y` (where `x` and `y` represent marginal distributions, binning is set in `xbins` and `ybins` in this case) or `z` (where `z` represent the 2D distribution and binning set, binning is set by `x` and `y` in this case). The resulting distribution is visualized as a heatmap.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='histogram2d'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='histogram2d'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='histogram2d'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='histogram2d'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='histogram2d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='histogram2d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='histogram2d'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the x axis.
- xgap
Code:fig.update_traces(xgap=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:0
Sets the horizontal gap (in pixels) between bricks.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the y axis.
- ygap
Code:fig.update_traces(ygap=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:0
Sets the vertical gap (in pixels) between bricks.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the aggregation data.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variable `z`
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='histogram2d'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `z` 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='histogram2d'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='histogram2d'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='histogram2d'))
Type: subplotidSets 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.
- histfunc
Code:fig.update_traces(histfunc=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("count"
|"sum"
|"avg"
|"min"
|"max"
)
Default:"count"
Specifies the binning function used for this histogram trace. If "count", the histogram values are computed by counting the number of values lying inside each bin. If "sum", "avg", "min", "max", the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively.
- histnorm
Code:fig.update_traces(histnorm=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of (""
|"percent"
|"probability"
|"density"
|"probability density"
)
Default:""
Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).
- nbinsx
Code:fig.update_traces(nbinsx=<VALUE>, selector=dict(type='histogram2d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided.
- nbinsy
Code:fig.update_traces(nbinsy=<VALUE>, selector=dict(type='histogram2d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided.
- autobinx
Code:fig.update_traces(autobinx=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: True` or `False` and will update `xbins` accordingly before deleting `autobinx` from the trace.
- autobiny
Code:fig.update_traces(autobiny=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: True` or `False` and will update `ybins` accordingly before deleting `autobiny` from the trace.
- bingroup
Code:fig.update_traces(bingroup=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of "1" on two histogram2d traces will make them their x-bins and y-bins match separately.
- xbingroup
Code:fig.update_traces(xbingroup=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup`
- xbins
Code:fig.update_traces(xbins=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(xbins_end=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the end value for the x axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(xbins_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the size of each x axis bin. Default behavior: If `nbinsx` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsx` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1).
- start
Code:fig.update_traces(xbins_start=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the starting value for the x axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5.
- end
- ybingroup
Code:fig.update_traces(ybingroup=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup`
- ybins
Code:fig.update_traces(ybins=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(ybins_end=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(ybins_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1).
- start
Code:fig.update_traces(ybins_start=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5.
- end
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the aggregation data.
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='histogram2d'))
Type: color
Default:"auto"
- family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='histogram2d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 1
Default:"auto"
- style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='histogram2d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='histogram2d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='histogram2d'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='histogram2d'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='histogram2d'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='histogram2d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='histogram2d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='histogram2d'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=histogram2d].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=histogram2d].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=histogram2d].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=histogram2d].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=histogram2d].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='histogram2d'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='histogram2d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='histogram2d'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='histogram2d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='histogram2d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='histogram2d'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='histogram2d'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='histogram2d'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='histogram2d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='histogram2d'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='histogram2d'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='histogram2d'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='histogram2d'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='histogram2d'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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.By default the values are formatted using generic number format.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='histogram2d'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='histogram2d'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='histogram2d'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- zsmooth
Code:fig.update_traces(zsmooth=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("fast"
|"best"
|False
)Picks a smoothing algorithm use to smooth `z` data.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='histogram2d'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='histogram2d'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='histogram2d'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='histogram2d'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='histogram2d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='histogram2d'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='histogram2d'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='histogram2d'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='histogram2d'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='histogram2d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='histogram2d'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
histogram2dcontour traces
plotly.graph_objects.Histogram2Dcontour
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The sample data from which statistics are computed is set in `x` and `y` (where `x` and `y` represent marginal distributions, binning is set in `xbins` and `ybins` in this case) or `z` (where `z` represent the 2D distribution and binning set, binning is set by `x` and `y` in this case). The resulting distribution is visualized as a contour plot.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the x axis.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sample data to be binned on the y axis.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the aggregation data.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
For this trace it only has an effect if `coloring` is set to "heatmap". Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `x`, `y`, `z` and `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `z` 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: subplotidSets 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.
- histfunc
Code:fig.update_traces(histfunc=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("count"
|"sum"
|"avg"
|"min"
|"max"
)
Default:"count"
Specifies the binning function used for this histogram trace. If "count", the histogram values are computed by counting the number of values lying inside each bin. If "sum", "avg", "min", "max", the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively.
- histnorm
Code:fig.update_traces(histnorm=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of (""
|"percent"
|"probability"
|"density"
|"probability density"
)
Default:""
Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).
- nbinsx
Code:fig.update_traces(nbinsx=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided.
- nbinsy
Code:fig.update_traces(nbinsy=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided.
- autobinx
Code:fig.update_traces(autobinx=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: True` or `False` and will update `xbins` accordingly before deleting `autobinx` from the trace.
- autobiny
Code:fig.update_traces(autobiny=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: booleanObsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: True` or `False` and will update `ybins` accordingly before deleting `autobiny` from the trace.
- bingroup
Code:fig.update_traces(bingroup=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of "1" on two histogram2d traces will make them their x-bins and y-bins match separately.
- xbingroup
Code:fig.update_traces(xbingroup=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup`
- xbins
Code:fig.update_traces(xbins=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(xbins_end=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the end value for the x axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(xbins_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the size of each x axis bin. Default behavior: If `nbinsx` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsx` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1).
- start
Code:fig.update_traces(xbins_start=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the starting value for the x axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5.
- end
- ybingroup
Code:fig.update_traces(ybingroup=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup`
- ybins
Code:fig.update_traces(ybins=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- end
Code:fig.update_traces(ybins_end=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is based on the category serial numbers.
- size
Code:fig.update_traces(ybins_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice round bin size giving no more than that many bins. For date data, use milliseconds or "M<n>" for months, as in `axis.dtick`. For category data, the number of categories to bin together (always defaults to 1).
- start
Code:fig.update_traces(ybins_start=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a default `start` of -0.5, so it is clear that 0-4 are in the first bin, 5-9 in the second, but continuous data gets a start of 0 and bins [0,5), [5,10) etc. Dates behave similarly, and `start` should be a date string. For category data, `start` is based on the category serial numbers, and defaults to -0.5.
- end
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the aggregation data.
- color
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: colorSets the color of the contour level. Has no effect if `contours.coloring` is set to "lines".
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number between or equal to 0 and 1.3
Default:1
Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:0.5
Sets the contour line width in (in px)
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.For this trace it only has an effect if `coloring` is set to "heatmap". Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color
Default:"auto"
- family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 1
Default:"auto"
- style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='histogram2dcontour'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=histogram2dcontour].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=histogram2dcontour].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=histogram2dcontour].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=histogram2dcontour].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=histogram2dcontour].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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.By default the values are formatted using generic number format.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- autocontour
Code:fig.update_traces(autocontour=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not the contour level attributes are picked by an algorithm. If "True", the number of contour levels can be set in `ncontours`. If "False", set the contour level attributes in `contours`.
- contours
Code:fig.update_traces(contours=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- coloring
Code:fig.update_traces(contours_coloring=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("fill"
|"heatmap"
|"lines"
|"none"
)
Default:"fill"
Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.
- end
Code:fig.update_traces(contours_end=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- labelfont
Code:fig.update_traces(contours_labelfont=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.
- color
Code:fig.update_traces(contours_labelfont_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color - family
Code:fig.update_traces(contours_labelfont_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(contours_labelfont_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(contours_labelfont_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(contours_labelfont_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(contours_labelfont_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(contours_labelfont_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(contours_labelfont_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(contours_labelfont_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- labelformat
Code:fig.update_traces(contours_labelformat=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string
Default:""
Sets the contour label formatting rule using 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.
- operation
Code:fig.update_traces(contours_operation=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("="
|"<"
|">="
|">"
|"<="
|"[]"
|"()"
|"[)"
|"(]"
|"]["
|")("
|"]("
|")["
)
Default:"="
Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.
- showlabels
Code:fig.update_traces(contours_showlabels=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: booleanDetermines whether to label the contour lines with their values.
- showlines
Code:fig.update_traces(contours_showlines=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: boolean
Default:True
Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to "fill".
- size
Code:fig.update_traces(contours_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_start=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- type
Code:fig.update_traces(contours_type=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("levels"
|"constraint"
)
Default:"levels"
If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters.
- value
Code:fig.update_traces(contours_value=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate string
Default:0
Sets the value or values of the constraint boundary. When `operation` is set to one of the comparison values (=,<,>=,>,<=) "value" is expected to be a number. When `operation` is set to one of the interval values ([],(),[),(],][,)(,](,)[) "value" is expected to be an array of two numbers where the first is the lower bound and the second is the upper bound.
- coloring
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='histogram2dcontour'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- ncontours
Code:fig.update_traces(ncontours=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: integer greater than or equal to 1
Default:15
Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "True" or if `contours.size` is missing.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='histogram2dcontour'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
ohlc traces
plotly.graph_objects.Ohlc
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The ohlc (short for Open-High-Low-Close) is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The tip of the lines represent the `low` and `high` values and the horizontal segments represent the `open` and `close` values. Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing items are drawn in green whereas decreasing are drawn in red.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='ohlc'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='ohlc'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='ohlc'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='ohlc'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='ohlc'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='ohlc'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='ohlc'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='ohlc'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='ohlc'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='ohlc'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='ohlc'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='ohlc'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates. If absent, linear coordinate will be generated.
- close
Code:fig.update_traces(close=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the close values.
- open
Code:fig.update_traces(open=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the open values.
- high
Code:fig.update_traces(high=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the high values.
- low
Code:fig.update_traces(low=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the low values.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='ohlc'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sample point. 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 this trace's sample points.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='ohlc'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='ohlc'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='ohlc'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='ohlc'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='ohlc'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='ohlc'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='ohlc'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='ohlc'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='ohlc'))
Type: number greater than or equal to 0
Default:2
[object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`.
- dash
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='ohlc'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- increasing
Code:fig.update_traces(increasing=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(increasing_line=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(increasing_line_color=<VALUE>, selector=dict(type='ohlc'))
Type: color
Default:"#3D9970"
Sets the line color.
- dash
Code:fig.update_traces(increasing_line_dash=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_traces(increasing_line_width=<VALUE>, selector=dict(type='ohlc'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- line
- decreasing
Code:fig.update_traces(decreasing=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(decreasing_line=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(decreasing_line_color=<VALUE>, selector=dict(type='ohlc'))
Type: color
Default:"#FF4136"
Sets the line color.
- dash
Code:fig.update_traces(decreasing_line_dash=<VALUE>, selector=dict(type='ohlc'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_traces(decreasing_line_width=<VALUE>, selector=dict(type='ohlc'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- line
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='ohlc'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='ohlc'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='ohlc'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='ohlc'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='ohlc'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='ohlc'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='ohlc'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='ohlc'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='ohlc'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='ohlc'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- split
Code:fig.update_traces(hoverlabel_split=<VALUE>, selector=dict(type='ohlc'))
Type: booleanShow hover information (open, close, high, low) in separate labels.
- align
- tickwidth
Code:fig.update_traces(tickwidth=<VALUE>, selector=dict(type='ohlc'))
Type: number between or equal to 0 and 0.5
Default:0.3
Sets the width of the open/close tick marks relative to the "x" minimal interval.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='ohlc'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='ohlc'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
candlestick traces
plotly.graph_objects.Candlestick
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The candlestick is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The boxes represent the spread between the `open` and `close` values and the lines represent the spread between the `low` and `high` values Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing candles are drawn in green whereas decreasing are drawn in red.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='candlestick'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='candlestick'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='candlestick'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='candlestick'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='candlestick'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='candlestick'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='candlestick'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='candlestick'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='candlestick'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='candlestick'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='candlestick'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='candlestick'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='candlestick'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='candlestick'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='candlestick'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates. If absent, linear coordinate will be generated.
- close
Code:fig.update_traces(close=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the close values.
- open
Code:fig.update_traces(open=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the open values.
- high
Code:fig.update_traces(high=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the high values.
- low
Code:fig.update_traces(low=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the low values.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='candlestick'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sample point. 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 this trace's sample points.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='candlestick'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='candlestick'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='candlestick'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='candlestick'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='candlestick'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='candlestick'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='candlestick'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='candlestick'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='candlestick'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='candlestick'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='candlestick'))
Type: number greater than or equal to 0
Default:2
Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`.
- width
- whiskerwidth
Code:fig.update_traces(whiskerwidth=<VALUE>, selector=dict(type='candlestick'))
Type: number between or equal to 0 and 1
Default:0
Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es).
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='candlestick'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- increasing
Code:fig.update_traces(increasing=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_traces(increasing_fillcolor=<VALUE>, selector=dict(type='candlestick'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- line
Code:fig.update_traces(increasing_line=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(increasing_line_color=<VALUE>, selector=dict(type='candlestick'))
Type: color
Default:"#3D9970"
Sets the color of line bounding the box(es).
- width
Code:fig.update_traces(increasing_line_width=<VALUE>, selector=dict(type='candlestick'))
Type: number greater than or equal to 0
Default:2
Sets the width (in px) of line bounding the box(es).
- color
- fillcolor
- decreasing
Code:fig.update_traces(decreasing=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_traces(decreasing_fillcolor=<VALUE>, selector=dict(type='candlestick'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- line
Code:fig.update_traces(decreasing_line=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(decreasing_line_color=<VALUE>, selector=dict(type='candlestick'))
Type: color
Default:"#FF4136"
Sets the color of line bounding the box(es).
- width
Code:fig.update_traces(decreasing_line_width=<VALUE>, selector=dict(type='candlestick'))
Type: number greater than or equal to 0
Default:2
Sets the width (in px) of line bounding the box(es).
- color
- fillcolor
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='candlestick'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='candlestick'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='candlestick'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='candlestick'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='candlestick'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='candlestick'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='candlestick'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='candlestick'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='candlestick'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='candlestick'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- split
Code:fig.update_traces(hoverlabel_split=<VALUE>, selector=dict(type='candlestick'))
Type: booleanShow hover information (open, close, high, low) in separate labels.
- align
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='candlestick'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='candlestick'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
waterfall traces
plotly.graph_objects.Waterfall
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Draws waterfall trace which is useful graph to displays the contribution of various elements (either positive or negative) in a bar chart. The data visualized by the span of the bars is set in `y` if `orientation` is set to "v" (the default) and the labels are set in `x`. By setting `orientation` to "h", the roles are interchanged.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='waterfall'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='waterfall'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='waterfall'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='waterfall'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='waterfall'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='waterfall'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='waterfall'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='waterfall'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='waterfall'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='waterfall'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='waterfall'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='waterfall'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='waterfall'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='waterfall'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- base
Code:fig.update_traces(base=<VALUE>, selector=dict(type='waterfall'))
Type: numberSets where the bar base is drawn (in position axis units).
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbers greater than or equal to 0Sets the bar width (in position axis units).
- measure
Code:fig.update_traces(measure=<VALUE>, selector=dict(type='waterfall'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:An array containing types of values. By default the values are considered as 'relative'. However; it is possible to use 'total' to compute the sums. Also 'absolute' could be applied to reset the computed total or to declare an initial value where needed.
- offset
Code:fig.update_traces(offset=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbersShifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("inside"
|"outside"
|"auto"
|"none"
)
Default:"auto"
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. "auto" tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. If "none", no text appears.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `initial`, `delta`, `final` and `label`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"name"
,"x"
,"y"
,"text"
,"initial"
,"delta"
,"final"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"name"
,"x"
,"name+x"
,"name+x+y"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `initial`, `delta` and `final`. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='waterfall'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='waterfall'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='waterfall'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- textangle
Code:fig.update_traces(textangle=<VALUE>, selector=dict(type='waterfall'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars.
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='waterfall'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"label"
,"text"
,"initial"
,"delta"
,"final"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+initial"
,"none"
Determines which trace information appear on the graph. In the case of having multiple waterfalls, totals are computed separately (per trace).
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='waterfall'))
Type: boolean
Default:True
Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connector
Code:fig.update_traces(connector=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(connector_line=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(connector_line_color=<VALUE>, selector=dict(type='waterfall'))
Type: color
Default:"#444"
Sets the line color.
- dash
Code:fig.update_traces(connector_line_dash=<VALUE>, selector=dict(type='waterfall'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_traces(connector_line_width=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- mode
Code:fig.update_traces(connector_mode=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("spanning"
|"between"
)
Default:"between"
Sets the shape of connector lines.
- visible
Code:fig.update_traces(connector_visible=<VALUE>, selector=dict(type='waterfall'))
Type: boolean
Default:True
Determines if connector lines are drawn.
- line
- constraintext
Code:fig.update_traces(constraintext=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("inside"
|"outside"
|"both"
|"none"
)
Default:"both"
Constrain the size of text inside or outside a bar to be no larger than the bar itself.
- increasing
Code:fig.update_traces(increasing=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(increasing_marker=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(increasing_marker_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the marker color of all increasing values.
- line
Code:fig.update_traces(increasing_marker_line=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(increasing_marker_line_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the line color of all increasing values.
- width
Code:fig.update_traces(increasing_marker_line_width=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 0
Default:0
Sets the line width of all increasing values.
- color
- color
- marker
- decreasing
Code:fig.update_traces(decreasing=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(decreasing_marker=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(decreasing_marker_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the marker color of all decreasing values.
- line
Code:fig.update_traces(decreasing_marker_line=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(decreasing_marker_line_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the line color of all decreasing values.
- width
Code:fig.update_traces(decreasing_marker_line_width=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 0
Default:0
Sets the line width of all decreasing values.
- color
- color
- marker
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='waterfall'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='waterfall'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextanchor
Code:fig.update_traces(insidetextanchor=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated , one of ("end"
|"middle"
|"start"
)
Default:"end"
Determines if texts are kept at center or start/end points in `textposition` "inside" mode.
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying inside the bar.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='waterfall'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying outside the bar.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='waterfall'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='waterfall'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='waterfall'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='waterfall'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='waterfall'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='waterfall'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- totals
Code:fig.update_traces(totals=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(totals_marker=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(totals_marker_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the marker color of all intermediate sums and total values.
- line
Code:fig.update_traces(totals_marker_line=dict(...), selector=dict(type='waterfall'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(totals_marker_line_color=<VALUE>, selector=dict(type='waterfall'))
Type: colorSets the line color of all intermediate sums and total values.
- width
Code:fig.update_traces(totals_marker_line_width=<VALUE>, selector=dict(type='waterfall'))
Type: number greater than or equal to 0
Default:0
Sets the line width of all intermediate sums and total values.
- color
- color
- marker
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='waterfall'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
funnel traces
plotly.graph_objects.Funnel
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Visualize stages in a process using length-encoded bars. This trace can be used to show data in either a part-to-whole representation wherein each item appears in a single stage, or in a "drop-off" representation wherein each item appears in each stage it traversed. See also the "funnelarea" trace type for a different approach to visualizing funnel data.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='funnel'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='funnel'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='funnel'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='funnel'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='funnel'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='funnel'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='funnel'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- x0
Code:fig.update_traces(x0=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- dx
Code:fig.update_traces(dx=<VALUE>, selector=dict(type='funnel'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- y0
Code:fig.update_traces(y0=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- dy
Code:fig.update_traces(dy=<VALUE>, selector=dict(type='funnel'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0Sets the bar width (in position axis units).
- offset
Code:fig.update_traces(offset=<VALUE>, selector=dict(type='funnel'))
Type: numberShifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("inside"
|"outside"
|"auto"
|"none"
)
Default:"auto"
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. "auto" tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. If "none", no text appears.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"name"
,"x"
,"y"
,"text"
,"percent initial"
,"percent previous"
,"percent total"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"name"
,"x"
,"name+x"
,"name+x+y"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `percentInitial`, `percentPrevious` and `percentTotal`. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='funnel'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='funnel'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("v"
|"h"
)Sets the orientation of the funnels. With "v" ("h"), the value of the each bar spans along the vertical (horizontal). By default funnels are tend to be oriented horizontally; unless only "y" array is presented or orientation is set to "v". Also regarding graphs including only 'horizontal' funnels, "autorange" on the "y-axis" are set to "reversed".
- alignmentgroup
Code:fig.update_traces(alignmentgroup=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
- offsetgroup
Code:fig.update_traces(offsetgroup=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
- xperiod
Code:fig.update_traces(xperiod=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- xperiodalignment
Code:fig.update_traces(xperiodalignment=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.
- xperiod0
Code:fig.update_traces(xperiod0=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- yperiod
Code:fig.update_traces(yperiod=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate string
Default:0
Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.
- yperiodalignment
Code:fig.update_traces(yperiodalignment=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("start"
|"middle"
|"end"
)
Default:"middle"
Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.
- yperiod0
Code:fig.update_traces(yperiod0=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringOnly relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='funnel'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='funnel'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='funnel'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='funnel'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='funnel'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='funnel'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='funnel'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='funnel'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='funnel'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='funnel'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='funnel'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=funnel].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=funnel].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=funnel].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=funnel].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=funnel].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='funnel'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='funnel'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='funnel'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='funnel'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='funnel'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='funnel'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='funnel'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='funnel'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='funnel'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='funnel'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the bars.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='funnel'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='funnel'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- autocolorscale
- textangle
Code:fig.update_traces(textangle=<VALUE>, selector=dict(type='funnel'))
Type: angle
Default:0
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars.
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='funnel'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"label"
,"text"
,"percent initial"
,"percent previous"
,"percent total"
,"value"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+percent initial"
,"none"
Determines which trace information appear on the graph. In the case of having multiple funnels, percentages & totals are computed separately (per trace).
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connector
Code:fig.update_traces(connector=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_traces(connector_fillcolor=<VALUE>, selector=dict(type='funnel'))
Type: colorSets the fill color.
- line
Code:fig.update_traces(connector_line=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(connector_line_color=<VALUE>, selector=dict(type='funnel'))
Type: color
Default:"#444"
Sets the line color.
- dash
Code:fig.update_traces(connector_line_dash=<VALUE>, selector=dict(type='funnel'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_traces(connector_line_width=<VALUE>, selector=dict(type='funnel'))
Type: number greater than or equal to 0
Default:0
Sets the line width (in px).
- color
- visible
Code:fig.update_traces(connector_visible=<VALUE>, selector=dict(type='funnel'))
Type: boolean
Default:True
Determines if connector regions and lines are drawn.
- fillcolor
- constraintext
Code:fig.update_traces(constraintext=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("inside"
|"outside"
|"both"
|"none"
)
Default:"both"
Constrain the size of text inside or outside a bar to be no larger than the bar itself.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='funnel'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='funnel'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextanchor
Code:fig.update_traces(insidetextanchor=<VALUE>, selector=dict(type='funnel'))
Type: enumerated , one of ("end"
|"middle"
|"start"
)
Default:"middle"
Determines if texts are kept at center or start/end points in `textposition` "inside" mode.
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying inside the bar.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='funnel'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='funnel'))
Type: dict containing one or more of the keys listed below.Sets the font used for `text` lying outside the bar.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='funnel'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='funnel'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='funnel'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='funnel'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='funnel'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='funnel'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='funnel'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='funnel'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
funnelarea traces
plotly.graph_objects.Funnelarea
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Visualize stages in a process using area-encoded trapezoids. This trace can be used to show data in a part-to-whole representation similar to a "pie" trace, wherein each item appears in a single stage. See also the "funnel" trace type for a different approach to visualizing funnel data.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='funnelarea'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- title
Code:fig.update_traces(title=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(title_font=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(title_font_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colors - family
Code:fig.update_traces(title_font_family=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(title_font_lineposition=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(title_font_shadow=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(title_font_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(title_font_style=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(title_font_textcase=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(title_font_variant=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(title_font_weight=<VALUE>, selector=dict(type='funnelarea'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- position
Code:fig.update_traces(title_position=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
)
Default:"top center"
Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute.
- text
Code:fig.update_traces(title_text=<VALUE>, selector=dict(type='funnelarea'))
Type: string
Default:""
Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='funnelarea'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='funnelarea'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='funnelarea'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='funnelarea'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='funnelarea'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='funnelarea'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='funnelarea'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='funnelarea'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='funnelarea'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='funnelarea'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- values
Code:fig.update_traces(values=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values of the sectors. If omitted, we count occurrences of each label.
- labels
Code:fig.update_traces(labels=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the sector labels. If `labels` entries are duplicated, we sum associated `values` or simply count occurrences if `values` is not provided. For other array attributes (including color) we use the first non-empty entry among all occurrences of the label.
- dlabel
Code:fig.update_traces(dlabel=<VALUE>, selector=dict(type='funnelarea'))
Type: number
Default:1
Sets the label step. See `label0` for more info.
- label0
Code:fig.update_traces(label0=<VALUE>, selector=dict(type='funnelarea'))
Type: number
Default:0
Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("inside"
|"none"
)
Default:"inside"
Specifies the location of the `textinfo`.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"percent"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='funnelarea'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='funnelarea'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this funnelarea trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='funnelarea'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this funnelarea trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='funnelarea'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this funnelarea trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='funnelarea'))
Type: list
Default:[0, 1]
Sets the vertical domain of this funnelarea trace (in plot fraction).
- column
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- colors
Code:fig.update_traces(marker_colors=<VALUE>, selector=dict(type='funnelarea'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colorsSets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the line enclosing each sector.
- color
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='funnelarea'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- colors
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='funnelarea'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"percent"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"none"
Determines which trace information appear on the graph.
- aspectratio
Code:fig.update_traces(aspectratio=<VALUE>, selector=dict(type='funnelarea'))
Type: number greater than or equal to 0
Default:1
Sets the ratio between height and width
- baseratio
Code:fig.update_traces(baseratio=<VALUE>, selector=dict(type='funnelarea'))
Type: number between or equal to 0 and 1
Default:0.333
Sets the ratio between bottom length and maximum top length.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='funnelarea'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='funnelarea'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='funnelarea'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying inside the sector.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='funnelarea'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='funnelarea'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='funnelarea'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='funnelarea'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='funnelarea'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='funnelarea'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- scalegroup
Code:fig.update_traces(scalegroup=<VALUE>, selector=dict(type='funnelarea'))
Type: string
Default:""
If there are multiple funnelareas that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='funnelarea'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
indicator traces
plotly.graph_objects.Indicator
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. An indicator is used to visualize a single `value` along with some contextual information such as `steps` or a `threshold`, using a combination of three visual elements: a number, a delta, and/or a gauge. Deltas are taken with respect to a `reference`. Gauges can be either angular or bullet (aka linear) gauges.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='indicator'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- title
Code:fig.update_traces(title=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(title_align=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets the horizontal alignment of the title. It defaults to `center` except for bullet charts for which it defaults to right.
- font
Code:fig.update_traces(title_font=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Set the font used to display the title
- color
Code:fig.update_traces(title_font_color=<VALUE>, selector=dict(type='indicator'))
Type: color - family
Code:fig.update_traces(title_font_family=<VALUE>, selector=dict(type='indicator'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(title_font_lineposition=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(title_font_shadow=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(title_font_size=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(title_font_style=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(title_font_textcase=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(title_font_variant=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(title_font_weight=<VALUE>, selector=dict(type='indicator'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(title_text=<VALUE>, selector=dict(type='indicator'))
Type: stringSets the title of this indicator.
- align
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='indicator'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='indicator'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='indicator'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='indicator'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='indicator'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"number"
,"delta"
,"gauge"
joined with a"+"
Examples:"number"
,"delta"
,"number+delta"
,"number+delta+gauge"
Default:"number"
Determines how the value is displayed on the graph. `number` displays the value numerically in text. `delta` displays the difference to a reference value in text. Finally, `gauge` displays the value graphically on an axis.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='indicator'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- value
Code:fig.update_traces(value=<VALUE>, selector=dict(type='indicator'))
Type: numberSets the number to be displayed.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='indicator'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='indicator'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='indicator'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this indicator trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='indicator'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this indicator trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='indicator'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this indicator trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='indicator'))
Type: list
Default:[0, 1]
Sets the vertical domain of this indicator trace (in plot fraction).
- column
- align
Code:fig.update_traces(align=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets the horizontal alignment of the `text` within the box. Note that this attribute has no effect if an angular gauge is displayed: in this case, it is always centered
- delta
Code:fig.update_traces(delta=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- decreasing
Code:fig.update_traces(delta_decreasing=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(delta_decreasing_color=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#FF4136"
Sets the color for increasing value.
- symbol
Code:fig.update_traces(delta_decreasing_symbol=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"▼"
Sets the symbol to display for increasing value
- color
- font
Code:fig.update_traces(delta_font=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Set the font used to display the delta
- color
Code:fig.update_traces(delta_font_color=<VALUE>, selector=dict(type='indicator'))
Type: color - family
Code:fig.update_traces(delta_font_family=<VALUE>, selector=dict(type='indicator'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(delta_font_lineposition=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(delta_font_shadow=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(delta_font_size=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(delta_font_style=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(delta_font_textcase=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(delta_font_variant=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(delta_font_weight=<VALUE>, selector=dict(type='indicator'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- increasing
Code:fig.update_traces(delta_increasing=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(delta_increasing_color=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#3D9970"
Sets the color for increasing value.
- symbol
Code:fig.update_traces(delta_increasing_symbol=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"▲"
Sets the symbol to display for increasing value
- color
- position
Code:fig.update_traces(delta_position=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("top"
|"bottom"
|"left"
|"right"
)
Default:"bottom"
Sets the position of delta with respect to the number.
- prefix
Code:fig.update_traces(delta_prefix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a prefix appearing before the delta.
- reference
Code:fig.update_traces(delta_reference=<VALUE>, selector=dict(type='indicator'))
Type: numberSets the reference value to compute the delta. By default, it is set to the current value.
- relative
Code:fig.update_traces(delta_relative=<VALUE>, selector=dict(type='indicator'))
Type: booleanShow relative change
- suffix
Code:fig.update_traces(delta_suffix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a suffix appearing next to the delta.
- valueformat
Code:fig.update_traces(delta_valueformat=<VALUE>, selector=dict(type='indicator'))
Type: stringSets the value formatting rule using 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.
- decreasing
- number
Code:fig.update_traces(number=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(number_font=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Set the font used to display main number
- color
Code:fig.update_traces(number_font_color=<VALUE>, selector=dict(type='indicator'))
Type: color - family
Code:fig.update_traces(number_font_family=<VALUE>, selector=dict(type='indicator'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(number_font_lineposition=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(number_font_shadow=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(number_font_size=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(number_font_style=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(number_font_textcase=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(number_font_variant=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(number_font_weight=<VALUE>, selector=dict(type='indicator'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- prefix
Code:fig.update_traces(number_prefix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a prefix appearing before the number.
- suffix
Code:fig.update_traces(number_suffix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a suffix appearing next to the number.
- valueformat
Code:fig.update_traces(number_valueformat=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets the value formatting rule using 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.
- font
- gauge
Code:fig.update_traces(gauge=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.The gauge of the Indicator plot.
- axis
Code:fig.update_traces(gauge_axis=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- dtick
Code:fig.update_traces(gauge_axis_dtick=<VALUE>, selector=dict(type='indicator'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(gauge_axis_exponentformat=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(gauge_axis_labelalias=<VALUE>, selector=dict(type='indicator'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- minexponent
Code:fig.update_traces(gauge_axis_minexponent=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(gauge_axis_nticks=<VALUE>, selector=dict(type='indicator'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_traces(gauge_axis_range=list(...), selector=dict(type='indicator'))
Type: listSets the range of this axis.
- separatethousands
Code:fig.update_traces(gauge_axis_separatethousands=<VALUE>, selector=dict(type='indicator'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(gauge_axis_showexponent=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(gauge_axis_showticklabels=<VALUE>, selector=dict(type='indicator'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(gauge_axis_showtickprefix=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(gauge_axis_showticksuffix=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- tick0
Code:fig.update_traces(gauge_axis_tick0=<VALUE>, selector=dict(type='indicator'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(gauge_axis_tickangle=<VALUE>, selector=dict(type='indicator'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(gauge_axis_tickcolor=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(gauge_axis_tickfont=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(gauge_axis_tickfont_color=<VALUE>, selector=dict(type='indicator'))
Type: color - family
Code:fig.update_traces(gauge_axis_tickfont_family=<VALUE>, selector=dict(type='indicator'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(gauge_axis_tickfont_lineposition=<VALUE>, selector=dict(type='indicator'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(gauge_axis_tickfont_shadow=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(gauge_axis_tickfont_size=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(gauge_axis_tickfont_style=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(gauge_axis_tickfont_textcase=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(gauge_axis_tickfont_variant=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(gauge_axis_tickfont_weight=<VALUE>, selector=dict(type='indicator'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(gauge_axis_tickformat=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(gauge_axis_tickformatstops=list(...), selector=dict(type='indicator'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=indicator].gauge.axis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=indicator].gauge.axis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=indicator].gauge.axis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=indicator].gauge.axis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=indicator].gauge.axis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_traces(gauge_axis_ticklabelstep=<VALUE>, selector=dict(type='indicator'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(gauge_axis_ticklen=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(gauge_axis_tickmode=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(gauge_axis_tickprefix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(gauge_axis_ticks=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:"outside"
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(gauge_axis_ticksuffix=<VALUE>, selector=dict(type='indicator'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(gauge_axis_ticktext=<VALUE>, selector=dict(type='indicator'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(gauge_axis_tickvals=<VALUE>, selector=dict(type='indicator'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(gauge_axis_tickwidth=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- visible
Code:fig.update_traces(gauge_axis_visible=<VALUE>, selector=dict(type='indicator'))
Type: boolean
Default:True
A single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- dtick
- bar
Code:fig.update_traces(gauge_bar=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.Set the appearance of the gauge's value
- color
Code:fig.update_traces(gauge_bar_color=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"green"
Sets the background color of the arc.
- line
Code:fig.update_traces(gauge_bar_line=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(gauge_bar_line_color=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#444"
Sets the color of the line enclosing each sector.
- width
Code:fig.update_traces(gauge_bar_line_width=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) of the line enclosing each sector.
- color
- thickness
Code:fig.update_traces(gauge_bar_thickness=<VALUE>, selector=dict(type='indicator'))
Type: number between or equal to 0 and 1
Default:1
Sets the thickness of the bar as a fraction of the total thickness of the gauge.
- color
- bgcolor
Code:fig.update_traces(gauge_bgcolor=<VALUE>, selector=dict(type='indicator'))
Type: colorSets the gauge background color.
- bordercolor
Code:fig.update_traces(gauge_bordercolor=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#444"
Sets the color of the border enclosing the gauge.
- borderwidth
Code:fig.update_traces(gauge_borderwidth=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the border enclosing the gauge.
- shape
Code:fig.update_traces(gauge_shape=<VALUE>, selector=dict(type='indicator'))
Type: enumerated , one of ("angular"
|"bullet"
)
Default:"angular"
Set the shape of the gauge
- steps
Code:fig.update_traces(gauge_steps=list(...), selector=dict(type='indicator'))
Type: list of dict where each dict has one or more of the keys listed below.- color
Parent:data[type=indicator].gauge.steps[]
Type: colorSets the background color of the arc.
- line
Parent:data[type=indicator].gauge.steps[]
Type: dict containing one or more of the keys listed below. - name
Parent:data[type=indicator].gauge.steps[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- range
Parent:data[type=indicator].gauge.steps[]
Type: listSets the range of this axis.
- templateitemname
Parent:data[type=indicator].gauge.steps[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- thickness
Parent:data[type=indicator].gauge.steps[]
Type: number between or equal to 0 and 1
Default:1
Sets the thickness of the bar as a fraction of the total thickness of the gauge.
- color
- threshold
Code:fig.update_traces(gauge_threshold=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(gauge_threshold_line=dict(...), selector=dict(type='indicator'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(gauge_threshold_line_color=<VALUE>, selector=dict(type='indicator'))
Type: color
Default:"#444"
Sets the color of the threshold line.
- width
Code:fig.update_traces(gauge_threshold_line_width=<VALUE>, selector=dict(type='indicator'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the threshold line.
- color
- thickness
Code:fig.update_traces(gauge_threshold_thickness=<VALUE>, selector=dict(type='indicator'))
Type: number between or equal to 0 and 1
Default:0.85
Sets the thickness of the threshold line as a fraction of the thickness of the gauge.
- value
Code:fig.update_traces(gauge_threshold_value=<VALUE>, selector=dict(type='indicator'))
Type: numberSets a treshold value drawn as a line.
- line
- axis
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='indicator'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scatter3d traces
plotly.graph_objects.Scatter3D
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. 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 via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` Projections are achieved via `projection`. Surface fills are achieved via `surfaceaxis`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scatter3d'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scatter3d'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scatter3d'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scatter3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"lines+markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z coordinates.
- surfacecolor
Code:fig.update_traces(surfacecolor=<VALUE>, selector=dict(type='scatter3d'))
Type: colorSets the surface fill color.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of strings
Default:""
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 `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"top center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of strings
Default:""
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 `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='scatter3d'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scatter3d'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scatter3d'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatter3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scatter3d'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatter3d].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatter3d].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatter3d].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatter3d].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatter3d].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scatter3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scatter3d'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scatter3d'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 1Sets 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.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scatter3d'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("circle"
|"circle-open"
|"cross"
|"diamond"
|"diamond-open"
|"square"
|"square-open"
|"x"
)
Default:"circle"
Sets the marker symbol type.
- autocolorscale
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(line_autocolorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(line_cauto=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color` is set to a numerical array. Defaults to `False` when `line.cmin` and `line.cmax` are set by the user.
- cmax
Code:fig.update_traces(line_cmax=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.
- cmid
Code:fig.update_traces(line_cmid=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `False`.
- cmin
Code:fig.update_traces(line_cmin=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colorsSets 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.cmin` and `line.cmax` if set.
- coloraxis
Code:fig.update_traces(line_coloraxis=<VALUE>, selector=dict(type='scatter3d'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(line_colorbar=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(line_colorbar_bgcolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(line_colorbar_bordercolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(line_colorbar_borderwidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(line_colorbar_dtick=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(line_colorbar_exponentformat=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(line_colorbar_labelalias=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(line_colorbar_len=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(line_colorbar_lenmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(line_colorbar_minexponent=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(line_colorbar_nticks=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(line_colorbar_orientation=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(line_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(line_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(line_colorbar_separatethousands=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(line_colorbar_showexponent=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(line_colorbar_showticklabels=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(line_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(line_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(line_colorbar_thickness=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(line_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(line_colorbar_tick0=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(line_colorbar_tickangle=<VALUE>, selector=dict(type='scatter3d'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(line_colorbar_tickcolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(line_colorbar_tickfont=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(line_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color - family
Code:fig.update_traces(line_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatter3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(line_colorbar_tickformat=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(line_colorbar_tickformatstops=list(...), selector=dict(type='scatter3d'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatter3d].line.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatter3d].line.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatter3d].line.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatter3d].line.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatter3d].line.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(line_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(line_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(line_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(line_colorbar_ticklen=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(line_colorbar_tickmode=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(line_colorbar_tickprefix=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(line_colorbar_ticks=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(line_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(line_colorbar_ticktext=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(line_colorbar_tickvals=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(line_colorbar_tickwidth=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(line_colorbar_title=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(line_colorbar_title_font=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(line_colorbar_title_font_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color - family
Code:fig.update_traces(line_colorbar_title_font_family=<VALUE>, selector=dict(type='scatter3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_title_font_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_title_font_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(line_colorbar_title_side=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(line_colorbar_title_text=<VALUE>, selector=dict(type='scatter3d'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(line_colorbar_x=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(line_colorbar_xanchor=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(line_colorbar_xpad=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(line_colorbar_xref=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(line_colorbar_y=<VALUE>, selector=dict(type='scatter3d'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(line_colorbar_yanchor=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(line_colorbar_ypad=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(line_colorbar_yref=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(line_colorscale=<VALUE>, selector=dict(type='scatter3d'))
Type: colorscaleSets the colorscale. Has an effect only if in `line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `line.cmin` and `line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("dash"
|"dashdot"
|"dot"
|"longdash"
|"longdashdot"
|"solid"
)
Default:"solid"
Sets the dash style of the lines.
- reversescale
Code:fig.update_traces(line_reversescale=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanReverses the color mapping if True. Has an effect only if in `line.color` is set to a numerical array. If True, `line.cmin` will correspond to the last color in the array and `line.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(line_showscale=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `line.color` is set to a numerical array.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- autocolorscale
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- error_x
Code:fig.update_traces(error_x=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_x_array=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_x_arrayminus=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_x_color=<VALUE>, selector=dict(type='scatter3d'))
Type: colorSets the stoke color of the error bars.
- copy_zstyle
Code:fig.update_traces(error_x_copy_zstyle=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean - symmetric
Code:fig.update_traces(error_x_symmetric=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_x_thickness=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_x_traceref=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_x_tracerefminus=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_x_type=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_x_value=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_x_valueminus=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_x_visible=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_x_width=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_y
Code:fig.update_traces(error_y=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_y_array=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_y_arrayminus=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_y_color=<VALUE>, selector=dict(type='scatter3d'))
Type: colorSets the stoke color of the error bars.
- copy_zstyle
Code:fig.update_traces(error_y_copy_zstyle=<VALUE>, selector=dict(type='scatter3d'))
Type: boolean - symmetric
Code:fig.update_traces(error_y_symmetric=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_y_thickness=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_y_traceref=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_y_tracerefminus=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_y_type=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_y_value=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_y_valueminus=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_y_visible=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_y_width=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- error_z
Code:fig.update_traces(error_z=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- array
Code:fig.update_traces(error_z_array=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
- arrayminus
Code:fig.update_traces(error_z_arrayminus=<VALUE>, selector=dict(type='scatter3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- color
Code:fig.update_traces(error_z_color=<VALUE>, selector=dict(type='scatter3d'))
Type: colorSets the stoke color of the error bars.
- symmetric
Code:fig.update_traces(error_z_symmetric=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
- thickness
Code:fig.update_traces(error_z_thickness=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the error bars.
- traceref
Code:fig.update_traces(error_z_traceref=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- tracerefminus
Code:fig.update_traces(error_z_tracerefminus=<VALUE>, selector=dict(type='scatter3d'))
Type: integer greater than or equal to 0
Default:0
- type
Code:fig.update_traces(error_z_type=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("percent"
|"constant"
|"sqrt"
|"data"
)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 in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.
- value
Code:fig.update_traces(error_z_value=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars.
- valueminus
Code:fig.update_traces(error_z_valueminus=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0
Default:10
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
- visible
Code:fig.update_traces(error_z_visible=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not this set of error bars is visible.
- width
Code:fig.update_traces(error_z_width=<VALUE>, selector=dict(type='scatter3d'))
Type: number greater than or equal to 0Sets the width (in px) of the cross-bar at both ends of the error bars.
- array
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='scatter3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scatter3d'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scatter3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scatter3d'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scatter3d'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scatter3d'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scatter3d'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- projection
Code:fig.update_traces(projection=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(projection_x=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(projection_x_opacity=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 1
Default:1
Sets the projection color.
- scale
Code:fig.update_traces(projection_x_scale=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 10
Default:0.6666666666666666
Sets the scale factor determining the size of the projection marker points.
- show
Code:fig.update_traces(projection_x_show=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanSets whether or not projections are shown along the x axis.
- opacity
- y
Code:fig.update_traces(projection_y=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(projection_y_opacity=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 1
Default:1
Sets the projection color.
- scale
Code:fig.update_traces(projection_y_scale=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 10
Default:0.6666666666666666
Sets the scale factor determining the size of the projection marker points.
- show
Code:fig.update_traces(projection_y_show=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanSets whether or not projections are shown along the y axis.
- opacity
- z
Code:fig.update_traces(projection_z=dict(...), selector=dict(type='scatter3d'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(projection_z_opacity=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 1
Default:1
Sets the projection color.
- scale
Code:fig.update_traces(projection_z_scale=<VALUE>, selector=dict(type='scatter3d'))
Type: number between or equal to 0 and 10
Default:0.6666666666666666
Sets the scale factor determining the size of the projection marker points.
- show
Code:fig.update_traces(projection_z_show=<VALUE>, selector=dict(type='scatter3d'))
Type: booleanSets whether or not projections are shown along the z axis.
- opacity
- x
- surfaceaxis
Code:fig.update_traces(surfaceaxis=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("-1"
|"0"
|"1"
|"2"
)
Default:"-1"
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.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- zcalendar
Code:fig.update_traces(zcalendar=<VALUE>, selector=dict(type='scatter3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `z` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scatter3d'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
surface traces
plotly.graph_objects.Surface
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data the describes the coordinates of the surface is set in `z`. Data in `z` should be a 2D list. Coordinates in `x` and `y` can either be 1D lists or {2D arrays} (e.g. to graph parametric surfaces). If not provided in `x` and `y`, the x and y coordinates are assumed to be linear starting at 0 with a unit step. The color scale corresponds to the `z` values by default. For custom color scales, use `surfacecolor` which should be a 2D list, where its bounds can be controlled using `cmin` and `cmax`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='surface'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='surface'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='surface'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='surface'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='surface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='surface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='surface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='surface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z coordinates.
- surfacecolor
Code:fig.update_traces(surfacecolor=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the surface color values, used for setting a color scale independent of `z`.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='surface'))
Type: string or array of strings
Default:""
Sets the text elements associated with each z value. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='surface'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='surface'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='surface'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='surface'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='surface'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='surface'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='surface'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='surface'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='surface'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='surface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='surface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='surface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='surface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='surface'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=surface].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=surface].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=surface].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=surface].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=surface].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='surface'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='surface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='surface'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='surface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='surface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='surface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='surface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='surface'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='surface'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='surface'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='surface'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='surface'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='surface'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here z or surfacecolor) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='surface'))
Type: numberSets the upper bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='surface'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as z or surfacecolor. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='surface'))
Type: numberSets the lower bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmax` must be set as well.
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in.
- contours
Code:fig.update_traces(contours=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(contours_x=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contours_x_color=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- end
Code:fig.update_traces(contours_x_end=<VALUE>, selector=dict(type='surface'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- highlight
Code:fig.update_traces(contours_x_highlight=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not contour lines about the x dimension are highlighted on hover.
- highlightcolor
Code:fig.update_traces(contours_x_highlightcolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the highlighted contour lines.
- highlightwidth
Code:fig.update_traces(contours_x_highlightwidth=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the highlighted contour lines.
- project
Code:fig.update_traces(contours_x_project=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(contours_x_project_x=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the x plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- y
Code:fig.update_traces(contours_x_project_y=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the y plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- z
Code:fig.update_traces(contours_x_project_z=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the z plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- x
- show
Code:fig.update_traces(contours_x_show=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not contour lines about the x dimension are drawn.
- size
Code:fig.update_traces(contours_x_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_x_start=<VALUE>, selector=dict(type='surface'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- usecolormap
Code:fig.update_traces(contours_x_usecolormap=<VALUE>, selector=dict(type='surface'))
Type: booleanAn alternate to "color". Determines whether or not the contour lines are colored using the trace "colorscale".
- width
Code:fig.update_traces(contours_x_width=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- y
Code:fig.update_traces(contours_y=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contours_y_color=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- end
Code:fig.update_traces(contours_y_end=<VALUE>, selector=dict(type='surface'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- highlight
Code:fig.update_traces(contours_y_highlight=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not contour lines about the y dimension are highlighted on hover.
- highlightcolor
Code:fig.update_traces(contours_y_highlightcolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the highlighted contour lines.
- highlightwidth
Code:fig.update_traces(contours_y_highlightwidth=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the highlighted contour lines.
- project
Code:fig.update_traces(contours_y_project=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(contours_y_project_x=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the x plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- y
Code:fig.update_traces(contours_y_project_y=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the y plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- z
Code:fig.update_traces(contours_y_project_z=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the z plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- x
- show
Code:fig.update_traces(contours_y_show=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not contour lines about the y dimension are drawn.
- size
Code:fig.update_traces(contours_y_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_y_start=<VALUE>, selector=dict(type='surface'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- usecolormap
Code:fig.update_traces(contours_y_usecolormap=<VALUE>, selector=dict(type='surface'))
Type: booleanAn alternate to "color". Determines whether or not the contour lines are colored using the trace "colorscale".
- width
Code:fig.update_traces(contours_y_width=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- z
Code:fig.update_traces(contours_z=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contours_z_color=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- end
Code:fig.update_traces(contours_z_end=<VALUE>, selector=dict(type='surface'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- highlight
Code:fig.update_traces(contours_z_highlight=<VALUE>, selector=dict(type='surface'))
Type: boolean
Default:True
Determines whether or not contour lines about the z dimension are highlighted on hover.
- highlightcolor
Code:fig.update_traces(contours_z_highlightcolor=<VALUE>, selector=dict(type='surface'))
Type: color
Default:"#444"
Sets the color of the highlighted contour lines.
- highlightwidth
Code:fig.update_traces(contours_z_highlightwidth=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the highlighted contour lines.
- project
Code:fig.update_traces(contours_z_project=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(contours_z_project_x=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the x plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- y
Code:fig.update_traces(contours_z_project_y=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the y plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- z
Code:fig.update_traces(contours_z_project_z=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not these contour lines are projected on the z plane. If `highlight` is set to "True" (the default), the projected lines are shown on hover. If `show` is set to "True", the projected lines are shown in permanence.
- x
- show
Code:fig.update_traces(contours_z_show=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not contour lines about the z dimension are drawn.
- size
Code:fig.update_traces(contours_z_size=<VALUE>, selector=dict(type='surface'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_z_start=<VALUE>, selector=dict(type='surface'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- usecolormap
Code:fig.update_traces(contours_z_usecolormap=<VALUE>, selector=dict(type='surface'))
Type: booleanAn alternate to "color". Determines whether or not the contour lines are colored using the trace "colorscale".
- width
Code:fig.update_traces(contours_z_width=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- x
- hidesurface
Code:fig.update_traces(hidesurface=<VALUE>, selector=dict(type='surface'))
Type: booleanDetermines whether or not a surface is drawn. For example, set `hidesurface` to "False" `contours.x.show` to "True" and `contours.y.show` to "True" to draw a wire frame plot.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='surface'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='surface'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='surface'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='surface'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='surface'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='surface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='surface'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='surface'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='surface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='surface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='surface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='surface'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='surface'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='surface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to -100000 and 100000
Default:10
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to -100000 and 100000
Default:10000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='surface'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- opacityscale
Code:fig.update_traces(opacityscale=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringSets the opacityscale. The opacityscale must be an array containing arrays mapping a normalized value to an opacity value. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 1], [0.5, 0.2], [1, 1]]` means that higher/lower values would have higher opacity values and those in the middle would be more transparent Alternatively, `opacityscale` may be a palette name string of the following list: 'min', 'max', 'extremes' and 'uniform'. The default is 'uniform'.
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- zcalendar
Code:fig.update_traces(zcalendar=<VALUE>, selector=dict(type='surface'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `z` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='surface'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
mesh3d traces
plotly.graph_objects.Mesh3D
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Draws sets of triangles with coordinates given by three 1-dimensional arrays in `x`, `y`, `z` and (1) a sets of `i`, `j`, `k` indices (2) Delaunay triangulation or (3) the Alpha-shape algorithm or (4) the Convex-hull algorithm
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='mesh3d'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='mesh3d'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='mesh3d'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='mesh3d'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='mesh3d'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='mesh3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='mesh3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='mesh3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Y coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex.
- i
Code:fig.update_traces(i=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "first" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `i[m] = n` points to the triplet `{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `i` represents a point in space, which is the first vertex of a triangle.
- j
Code:fig.update_traces(j=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "second" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `j[m] = n` points to the triplet `{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `j` represents a point in space, which is the second vertex of a triangle.
- k
Code:fig.update_traces(k=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "third" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `k[m] = n` points to the triplet `{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `k` represents a point in space, which is the third vertex of a triangle.
- facecolor
Code:fig.update_traces(facecolor=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each face Overrides "color" and "vertexcolor".
- intensity
Code:fig.update_traces(intensity=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the intensity values for vertices or cells as defined by `intensitymode`. It can be used for plotting fields on meshes.
- intensitymode
Code:fig.update_traces(intensitymode=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("vertex"
|"cell"
)
Default:"vertex"
Determines the source of `intensity` values.
- vertexcolor
Code:fig.update_traces(vertexcolor=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each vertex Overrides "color". While Red, green and blue colors are in the range of 0 and 255; in the case of having vertex color data in RGBA format, the alpha color should be normalized to be between 0 and 1.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='mesh3d'))
Type: string or array of strings
Default:""
Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='mesh3d'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='mesh3d'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='mesh3d'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='mesh3d'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='mesh3d'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='mesh3d'))
Type: subplotidSets 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.
- color
Code:fig.update_traces(color=<VALUE>, selector=dict(type='mesh3d'))
Type: colorSets the color of the whole mesh
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='mesh3d'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='mesh3d'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='mesh3d'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='mesh3d'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='mesh3d'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='mesh3d'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='mesh3d'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='mesh3d'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='mesh3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='mesh3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='mesh3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='mesh3d'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=mesh3d].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=mesh3d].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=mesh3d].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=mesh3d].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=mesh3d].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='mesh3d'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='mesh3d'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='mesh3d'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='mesh3d'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='mesh3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='mesh3d'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='mesh3d'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='mesh3d'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='mesh3d'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='mesh3d'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='mesh3d'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='mesh3d'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='mesh3d'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='mesh3d'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='mesh3d'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='mesh3d'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here `intensity`) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='mesh3d'))
Type: numberSets the upper bound of the color domain. Value should have the same units as `intensity` and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='mesh3d'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `intensity`. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='mesh3d'))
Type: numberSets the lower bound of the color domain. Value should have the same units as `intensity` and if set, `cmax` must be set as well.
- alphahull
Code:fig.update_traces(alphahull=<VALUE>, selector=dict(type='mesh3d'))
Type: number
Default:-1
Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. For general use of `mesh3d` it is preferred that `i`, `j`, `k` are supplied. If "-1", Delaunay triangulation is used, which is mainly suitable if the mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`. In case the `delaunayaxis` intersects the mesh surface at more than one point it will result triangles that are very long in the dimension of `delaunayaxis`. If ">0", the alpha-shape algorithm is used. In this case, the positive `alphahull` value signals the use of the alpha-shape algorithm, _and_ its value acts as the parameter for the mesh fitting. If "0", the convex-hull algorithm is used. It is suitable for convex bodies or if the intention is to enclose the `x`, `y` and `z` point set into a convex hull.
- delaunayaxis
Code:fig.update_traces(delaunayaxis=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("x"
|"y"
|"z"
)
Default:"z"
Sets the Delaunay axis, which is the axis that is perpendicular to the surface of the Delaunay triangulation. It has an effect if `i`, `j`, `k` are not provided and `alphahull` is set to indicate Delaunay triangulation.
- contour
Code:fig.update_traces(contour=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contour_color=<VALUE>, selector=dict(type='mesh3d'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- show
Code:fig.update_traces(contour_show=<VALUE>, selector=dict(type='mesh3d'))
Type: booleanSets whether or not dynamic contours are shown on hover
- width
Code:fig.update_traces(contour_width=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- flatshading
Code:fig.update_traces(flatshading=<VALUE>, selector=dict(type='mesh3d'))
Type: booleanDetermines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='mesh3d'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='mesh3d'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='mesh3d'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='mesh3d'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='mesh3d'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='mesh3d'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='mesh3d'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='mesh3d'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- facenormalsepsilon
Code:fig.update_traces(lighting_facenormalsepsilon=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:1e-06
Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- vertexnormalsepsilon
Code:fig.update_traces(lighting_vertexnormalsepsilon=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to 0 and 1
Default:1e-12
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='mesh3d'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='mesh3d'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- xcalendar
Code:fig.update_traces(xcalendar=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `x` date data.
- ycalendar
Code:fig.update_traces(ycalendar=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `y` date data.
- zcalendar
Code:fig.update_traces(zcalendar=<VALUE>, selector=dict(type='mesh3d'))
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use with `z` date data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='mesh3d'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
cone traces
plotly.graph_objects.Cone
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Use cone traces to visualize vector fields. Specify a vector field using 6 1D arrays, 3 position arrays `x`, `y` and `z` and 3 vector component arrays `u`, `v`, `w`. The cones are drawn exactly at the positions given by `x`, `y` and `z`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='cone'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='cone'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='cone'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='cone'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='cone'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='cone'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='cone'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='cone'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='cone'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates of the vector field and of the displayed cones.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates of the vector field and of the displayed cones.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z coordinates of the vector field and of the displayed cones.
- u
Code:fig.update_traces(u=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x components of the vector field.
- v
Code:fig.update_traces(v=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y components of the vector field.
- w
Code:fig.update_traces(w=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z components of the vector field.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='cone'))
Type: string or array of strings
Default:""
Sets the text elements associated with the cones. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='cone'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='cone'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"u"
,"v"
,"w"
,"norm"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"x+y+z+norm+text+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='cone'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `norm` 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- uhoverformat
Code:fig.update_traces(uhoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `u` using 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.By default the values are formatted using generic number format.
- vhoverformat
Code:fig.update_traces(vhoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `v` using 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.By default the values are formatted using generic number format.
- whoverformat
Code:fig.update_traces(whoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `w` using 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.By default the values are formatted using generic number format.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='cone'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='cone'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='cone'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='cone'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='cone'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='cone'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='cone'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='cone'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='cone'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='cone'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='cone'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='cone'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='cone'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='cone'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='cone'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='cone'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='cone'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='cone'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='cone'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='cone'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=cone].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=cone].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=cone].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=cone].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=cone].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='cone'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='cone'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='cone'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='cone'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='cone'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='cone'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='cone'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='cone'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='cone'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='cone'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='cone'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='cone'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='cone'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='cone'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='cone'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='cone'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='cone'))
Type: numberSets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='cone'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='cone'))
Type: numberSets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well.
- anchor
Code:fig.update_traces(anchor=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("tip"
|"tail"
|"cm"
|"center"
)
Default:"cm"
Sets the cones' anchor with respect to their x/y/z positions. Note that "cm" denote the cone's center of mass which corresponds to 1/4 from the tail to tip.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='cone'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='cone'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='cone'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='cone'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='cone'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='cone'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='cone'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='cone'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='cone'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='cone'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='cone'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='cone'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='cone'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- facenormalsepsilon
Code:fig.update_traces(lighting_facenormalsepsilon=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:1e-06
Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- vertexnormalsepsilon
Code:fig.update_traces(lighting_vertexnormalsepsilon=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to 0 and 1
Default:1e-12
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='cone'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='cone'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- sizemode
Code:fig.update_traces(sizemode=<VALUE>, selector=dict(type='cone'))
Type: enumerated , one of ("scaled"
|"absolute"
|"raw"
)
Default:"scaled"
Determines whether `sizeref` is set as a "scaled" (i.e unitless) scalar (normalized by the max u/v/w norm in the vector field) or as "absolute" value (in the same units as the vector field). To display sizes in actual vector length use "raw".
- sizeref
Code:fig.update_traces(sizeref=<VALUE>, selector=dict(type='cone'))
Type: number greater than or equal to 0Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum "time" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to "raw", its default value is "1". With `sizemode` set to "scaled", `sizeref` is unitless, its default value is "0.5". With `sizemode` set to "absolute", `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='cone'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
streamtube traces
plotly.graph_objects.Streamtube
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Use a streamtube trace to visualize flow in a vector field. Specify a vector field using 6 1D arrays of equal length, 3 position arrays `x`, `y` and `z` and 3 vector component arrays `u`, `v`, and `w`. By default, the tubes' starting positions will be cut from the vector field's x-z plane at its minimum y value. To specify your own starting position, use attributes `starts.x`, `starts.y` and `starts.z`. The color is encoded by the norm of (u, v, w), and the local radius by the divergence of (u, v, w).
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='streamtube'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='streamtube'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='streamtube'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='streamtube'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='streamtube'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='streamtube'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='streamtube'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='streamtube'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates of the vector field.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates of the vector field.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z coordinates of the vector field.
- u
Code:fig.update_traces(u=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x components of the vector field.
- v
Code:fig.update_traces(v=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y components of the vector field.
- w
Code:fig.update_traces(w=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z components of the vector field.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets a text element associated with this trace. If trace `hoverinfo` contains a "text" flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array `text` values.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='streamtube'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"u"
,"v"
,"w"
,"norm"
,"divergence"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"x+y+z+norm+text+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='streamtube'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- uhoverformat
Code:fig.update_traces(uhoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `u` using 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.By default the values are formatted using generic number format.
- vhoverformat
Code:fig.update_traces(vhoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `v` using 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.By default the values are formatted using generic number format.
- whoverformat
Code:fig.update_traces(whoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `w` using 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.By default the values are formatted using generic number format.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='streamtube'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='streamtube'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='streamtube'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='streamtube'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='streamtube'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='streamtube'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='streamtube'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='streamtube'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='streamtube'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='streamtube'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='streamtube'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='streamtube'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='streamtube'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='streamtube'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='streamtube'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='streamtube'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='streamtube'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='streamtube'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='streamtube'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=streamtube].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=streamtube].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=streamtube].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=streamtube].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=streamtube].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='streamtube'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='streamtube'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='streamtube'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='streamtube'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='streamtube'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='streamtube'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='streamtube'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='streamtube'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='streamtube'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='streamtube'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='streamtube'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='streamtube'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='streamtube'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='streamtube'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='streamtube'))
Type: numberSets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='streamtube'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='streamtube'))
Type: numberSets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='streamtube'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='streamtube'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='streamtube'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='streamtube'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='streamtube'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='streamtube'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='streamtube'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='streamtube'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='streamtube'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='streamtube'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- facenormalsepsilon
Code:fig.update_traces(lighting_facenormalsepsilon=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:1e-06
Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- vertexnormalsepsilon
Code:fig.update_traces(lighting_vertexnormalsepsilon=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to 0 and 1
Default:1e-12
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='streamtube'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- maxdisplayed
Code:fig.update_traces(maxdisplayed=<VALUE>, selector=dict(type='streamtube'))
Type: integer greater than or equal to 0
Default:1000
The maximum number of displayed segments in a streamtube.
- sizeref
Code:fig.update_traces(sizeref=<VALUE>, selector=dict(type='streamtube'))
Type: number greater than or equal to 0
Default:1
The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions.
- starts
Code:fig.update_traces(starts=dict(...), selector=dict(type='streamtube'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(starts_x=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x components of the starting position of the streamtubes
- y
Code:fig.update_traces(starts_y=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y components of the starting position of the streamtubes
- z
Code:fig.update_traces(starts_z=<VALUE>, selector=dict(type='streamtube'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z components of the starting position of the streamtubes
- x
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='streamtube'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
volume traces
plotly.graph_objects.Volume
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Draws volume trace between iso-min and iso-max values with coordinates given by four 1-dimensional arrays containing the `value`, `x`, `y` and `z` of every vertex of a uniform or non-uniform 3-D grid. Horizontal or vertical slices, caps as well as spaceframe between iso-min and iso-max values could also be drawn using this trace.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='volume'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='volume'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='volume'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='volume'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='volume'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='volume'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='volume'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='volume'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the X coordinates of the vertices on X axis.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Y coordinates of the vertices on Y axis.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Z coordinates of the vertices on Z axis.
- value
Code:fig.update_traces(value=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the 4th dimension (value) of the vertices.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='volume'))
Type: string or array of strings
Default:""
Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='volume'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='volume'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- valuehoverformat
Code:fig.update_traces(valuehoverformat=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the hover text formatting rulefor `value` using 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.By default the values are formatted using generic number format.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='volume'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='volume'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='volume'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='volume'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='volume'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='volume'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='volume'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='volume'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='volume'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='volume'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='volume'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='volume'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='volume'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='volume'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=volume].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=volume].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=volume].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=volume].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=volume].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='volume'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='volume'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='volume'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='volume'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='volume'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='volume'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='volume'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='volume'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='volume'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='volume'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='volume'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='volume'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='volume'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='volume'))
Type: numberSets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='volume'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='volume'))
Type: numberSets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well.
- caps
Code:fig.update_traces(caps=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(caps_x=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_x_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_x_show=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- y
Code:fig.update_traces(caps_y=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_y_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_y_show=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- z
Code:fig.update_traces(caps_z=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_z_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_z_show=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- x
- contour
Code:fig.update_traces(contour=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contour_color=<VALUE>, selector=dict(type='volume'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- show
Code:fig.update_traces(contour_show=<VALUE>, selector=dict(type='volume'))
Type: booleanSets whether or not dynamic contours are shown on hover
- width
Code:fig.update_traces(contour_width=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- flatshading
Code:fig.update_traces(flatshading=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='volume'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='volume'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='volume'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='volume'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='volume'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='volume'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='volume'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='volume'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='volume'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='volume'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='volume'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='volume'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- isomax
Code:fig.update_traces(isomax=<VALUE>, selector=dict(type='volume'))
Type: numberSets the maximum boundary for iso-surface plot.
- isomin
Code:fig.update_traces(isomin=<VALUE>, selector=dict(type='volume'))
Type: numberSets the minimum boundary for iso-surface plot.
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- facenormalsepsilon
Code:fig.update_traces(lighting_facenormalsepsilon=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:0
Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- vertexnormalsepsilon
Code:fig.update_traces(lighting_vertexnormalsepsilon=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1e-12
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- opacityscale
Code:fig.update_traces(opacityscale=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringSets the opacityscale. The opacityscale must be an array containing arrays mapping a normalized value to an opacity value. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 1], [0.5, 0.2], [1, 1]]` means that higher/lower values would have higher opacity values and those in the middle would be more transparent Alternatively, `opacityscale` may be a palette name string of the following list: 'min', 'max', 'extremes' and 'uniform'. The default is 'uniform'.
- slices
Code:fig.update_traces(slices=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(slices_x=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_x_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_x_locations=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis x except start and end.
- show
Code:fig.update_traces(slices_x_show=<VALUE>, selector=dict(type='volume'))
Type: booleanDetermines whether or not slice planes about the x dimension are drawn.
- fill
- y
Code:fig.update_traces(slices_y=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_y_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_y_locations=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis y except start and end.
- show
Code:fig.update_traces(slices_y_show=<VALUE>, selector=dict(type='volume'))
Type: booleanDetermines whether or not slice planes about the y dimension are drawn.
- fill
- z
Code:fig.update_traces(slices_z=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_z_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_z_locations=<VALUE>, selector=dict(type='volume'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis z except start and end.
- show
Code:fig.update_traces(slices_z_show=<VALUE>, selector=dict(type='volume'))
Type: booleanDetermines whether or not slice planes about the z dimension are drawn.
- fill
- x
- spaceframe
Code:fig.update_traces(spaceframe=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(spaceframe_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `spaceframe` elements. The default fill value is 1 meaning that they are entirely shaded. Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(spaceframe_show=<VALUE>, selector=dict(type='volume'))
Type: booleanDisplays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1.
- fill
- surface
Code:fig.update_traces(surface=dict(...), selector=dict(type='volume'))
Type: dict containing one or more of the keys listed below.- count
Code:fig.update_traces(surface_count=<VALUE>, selector=dict(type='volume'))
Type: integer greater than or equal to 1
Default:2
Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn.
- fill
Code:fig.update_traces(surface_fill=<VALUE>, selector=dict(type='volume'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- pattern
Code:fig.update_traces(surface_pattern=<VALUE>, selector=dict(type='volume'))
Type: flaglist string. Any combination of"A"
,"B"
,"C"
,"D"
,"E"
joined with a"+"
OR"all"
or"odd"
or"even"
.
Examples:"A"
,"B"
,"A+B"
,"A+B+C"
,"all"
Default:"all"
Sets the surface pattern of the iso-surface 3-D sections. The default pattern of the surface is `all` meaning that the rest of surface elements would be shaded. The check options (either 1 or 2) could be used to draw half of the squares on the surface. Using various combinations of capital `A`, `B`, `C`, `D` and `E` may also be used to reduce the number of triangles on the iso-surfaces and creating other patterns of interest.
- show
Code:fig.update_traces(surface_show=<VALUE>, selector=dict(type='volume'))
Type: boolean
Default:True
Hides/displays surfaces between minimum and maximum iso-values.
- count
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='volume'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
isosurface traces
plotly.graph_objects.Isosurface
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Draws isosurfaces between iso-min and iso-max values with coordinates given by four 1-dimensional arrays containing the `value`, `x`, `y` and `z` of every vertex of a uniform or non-uniform 3-D grid. Horizontal or vertical slices, caps as well as spaceframe between iso-min and iso-max values could also be drawn using this trace.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='isosurface'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='isosurface'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='isosurface'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='isosurface'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='isosurface'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='isosurface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='isosurface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the X coordinates of the vertices on X axis.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Y coordinates of the vertices on Y axis.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the Z coordinates of the vertices on Z axis.
- value
Code:fig.update_traces(value=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the 4th dimension (value) of the vertices.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='isosurface'))
Type: string or array of strings
Default:""
Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='isosurface'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='isosurface'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- valuehoverformat
Code:fig.update_traces(valuehoverformat=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the hover text formatting rulefor `value` using 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.By default the values are formatted using generic number format.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='isosurface'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- scene
Code:fig.update_traces(scene=<VALUE>, selector=dict(type='isosurface'))
Type: subplotid
Default:scene
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 to `layout.scene2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='isosurface'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='isosurface'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='isosurface'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='isosurface'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='isosurface'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='isosurface'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='isosurface'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='isosurface'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='isosurface'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='isosurface'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='isosurface'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='isosurface'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='isosurface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='isosurface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='isosurface'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=isosurface].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=isosurface].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=isosurface].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=isosurface].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=isosurface].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='isosurface'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='isosurface'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='isosurface'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='isosurface'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='isosurface'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='isosurface'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='isosurface'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='isosurface'))
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- zhoverformat
Code:fig.update_traces(zhoverformat=<VALUE>, selector=dict(type='isosurface'))
Type: string
Default:""
Sets the hover text formatting rulefor `z` using 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 using `zaxis.hoverformat`.
- cauto
Code:fig.update_traces(cauto=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_traces(cmax=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well.
- cmid
Code:fig.update_traces(cmid=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_traces(cmin=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well.
- caps
Code:fig.update_traces(caps=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(caps_x=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_x_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_x_show=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- y
Code:fig.update_traces(caps_y=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_y_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_y_show=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- z
Code:fig.update_traces(caps_z=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(caps_z_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- show
Code:fig.update_traces(caps_z_show=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- fill
- x
- contour
Code:fig.update_traces(contour=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(contour_color=<VALUE>, selector=dict(type='isosurface'))
Type: color
Default:"#444"
Sets the color of the contour lines.
- show
Code:fig.update_traces(contour_show=<VALUE>, selector=dict(type='isosurface'))
Type: booleanSets whether or not dynamic contours are shown on hover
- width
Code:fig.update_traces(contour_width=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 1 and 16
Default:2
Sets the width of the contour lines.
- color
- flatshading
Code:fig.update_traces(flatshading=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='isosurface'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='isosurface'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='isosurface'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='isosurface'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='isosurface'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='isosurface'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='isosurface'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='isosurface'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='isosurface'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- isomax
Code:fig.update_traces(isomax=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the maximum boundary for iso-surface plot.
- isomin
Code:fig.update_traces(isomin=<VALUE>, selector=dict(type='isosurface'))
Type: numberSets the minimum boundary for iso-surface plot.
- lighting
Code:fig.update_traces(lighting=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- ambient
Code:fig.update_traces(lighting_ambient=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:0.8
Ambient light increases overall color visibility but can wash out the image.
- diffuse
Code:fig.update_traces(lighting_diffuse=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:0.8
Represents the extent that incident rays are reflected in a range of angles.
- facenormalsepsilon
Code:fig.update_traces(lighting_facenormalsepsilon=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:0
Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
- fresnel
Code:fig.update_traces(lighting_fresnel=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 5
Default:0.2
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
- roughness
Code:fig.update_traces(lighting_roughness=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:0.5
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
- specular
Code:fig.update_traces(lighting_specular=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 2
Default:0.05
Represents the level that incident rays are reflected in a single direction, causing shine.
- vertexnormalsepsilon
Code:fig.update_traces(lighting_vertexnormalsepsilon=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1e-12
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
- ambient
- lightposition
Code:fig.update_traces(lightposition=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(lightposition_x=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the X coordinate for each vertex.
- y
Code:fig.update_traces(lightposition_y=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to -100000 and 100000
Default:100000
Numeric vector, representing the Y coordinate for each vertex.
- z
Code:fig.update_traces(lightposition_z=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to -100000 and 100000
Default:0
Numeric vector, representing the Z coordinate for each vertex.
- x
- slices
Code:fig.update_traces(slices=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_traces(slices_x=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_x_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_x_locations=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis x except start and end.
- show
Code:fig.update_traces(slices_x_show=<VALUE>, selector=dict(type='isosurface'))
Type: booleanDetermines whether or not slice planes about the x dimension are drawn.
- fill
- y
Code:fig.update_traces(slices_y=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_y_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_y_locations=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis y except start and end.
- show
Code:fig.update_traces(slices_y_show=<VALUE>, selector=dict(type='isosurface'))
Type: booleanDetermines whether or not slice planes about the y dimension are drawn.
- fill
- z
Code:fig.update_traces(slices_z=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(slices_z_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- locations
Code:fig.update_traces(slices_z_locations=<VALUE>, selector=dict(type='isosurface'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis z except start and end.
- show
Code:fig.update_traces(slices_z_show=<VALUE>, selector=dict(type='isosurface'))
Type: booleanDetermines whether or not slice planes about the z dimension are drawn.
- fill
- x
- spaceframe
Code:fig.update_traces(spaceframe=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- fill
Code:fig.update_traces(spaceframe_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:0.15
Sets the fill ratio of the `spaceframe` elements. The default fill value is 0.15 meaning that only 15% of the area of every faces of tetras would be shaded. Applying a greater `fill` ratio would allow the creation of stronger elements or could be sued to have entirely closed areas (in case of using 1).
- show
Code:fig.update_traces(spaceframe_show=<VALUE>, selector=dict(type='isosurface'))
Type: booleanDisplays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1.
- fill
- surface
Code:fig.update_traces(surface=dict(...), selector=dict(type='isosurface'))
Type: dict containing one or more of the keys listed below.- count
Code:fig.update_traces(surface_count=<VALUE>, selector=dict(type='isosurface'))
Type: integer greater than or equal to 1
Default:2
Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn.
- fill
Code:fig.update_traces(surface_fill=<VALUE>, selector=dict(type='isosurface'))
Type: number between or equal to 0 and 1
Default:1
Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges.
- pattern
Code:fig.update_traces(surface_pattern=<VALUE>, selector=dict(type='isosurface'))
Type: flaglist string. Any combination of"A"
,"B"
,"C"
,"D"
,"E"
joined with a"+"
OR"all"
or"odd"
or"even"
.
Examples:"A"
,"B"
,"A+B"
,"A+B+C"
,"all"
Default:"all"
Sets the surface pattern of the iso-surface 3-D sections. The default pattern of the surface is `all` meaning that the rest of surface elements would be shaded. The check options (either 1 or 2) could be used to draw half of the squares on the surface. Using various combinations of capital `A`, `B`, `C`, `D` and `E` may also be used to reduce the number of triangles on the iso-surfaces and creating other patterns of interest.
- show
Code:fig.update_traces(surface_show=<VALUE>, selector=dict(type='isosurface'))
Type: boolean
Default:True
Hides/displays surfaces between minimum and maximum iso-values.
- count
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='isosurface'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattergeo traces
plotly.graph_objects.Scattergeo
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data visualized as scatter point or lines on a geographic map is provided either by longitude/latitude pairs in `lon` and `lat` respectively or by geographic location IDs or names in `locations`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattergeo'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattergeo'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattergeo'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattergeo'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattergeo'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattergeo'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- lat
Code:fig.update_traces(lat=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the latitude coordinates (in degrees North).
- geojson
Code:fig.update_traces(geojson=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringSets optional GeoJSON data associated with this trace. If not given, the features on the base map are used when `locations` is set. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".
- featureidkey
Code:fig.update_traces(featureidkey=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:"id"
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example "properties.name".
- locations
Code:fig.update_traces(locations=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the coordinates via location IDs or names. Coordinates correspond to the centroid of each location given. See `locationmode` for more info.
- lon
Code:fig.update_traces(lon=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the longitude coordinates (in degrees East).
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:""
Sets text elements associated with each (lon,lat) pair or item in `locations`. 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 (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `lat`, `lon`, `location` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (lon,lat) pair or item in `locations`. 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 (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"lon"
,"lat"
,"location"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"lon"
,"lat"
,"lon+lat"
,"lon+lat+location"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- geo
Code:fig.update_traces(geo=<VALUE>, selector=dict(type='scattergeo'))
Type: subplotid
Default:geo
Sets a reference between this trace's geospatial coordinates and a geographic map. If "geo" (the default value), the geospatial coordinates refer to `layout.geo`. If "geo2", the geospatial coordinates refer to `layout.geo2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattergeo'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("previous"
|"up"
|"north"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen. With "north", angle 0 points north based on the current map projection.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattergeo'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattergeo'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattergeo'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattergeo'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattergeo'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattergeo'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattergeo'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattergeo].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattergeo].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattergeo].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattergeo].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattergeo].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattergeo'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattergeo'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattergeo'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattergeo'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattergeo'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattergeo'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scattergeo'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scattergeo'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scattergeo'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scattergeo'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scattergeo'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattergeo'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattergeo'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattergeo'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scattergeo'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattergeo'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattergeo'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattergeo'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattergeo'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("none"
|"toself"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattergeo'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattergeo'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattergeo'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattergeo'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattergeo'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattergeo'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattergeo'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattergeo'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- locationmode
Code:fig.update_traces(locationmode=<VALUE>, selector=dict(type='scattergeo'))
Type: enumerated , one of ("ISO-3"
|"USA-states"
|"country names"
|"geojson-id"
)
Default:"ISO-3"
Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA-states", "country names" correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJSON linked to the `geojson` attribute.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattergeo'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
choropleth traces
plotly.graph_objects.Choropleth
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data that describes the choropleth value-to-color mapping is set in `z`. The geographic locations corresponding to each value in `z` are set in `locations`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='choropleth'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='choropleth'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='choropleth'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='choropleth'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='choropleth'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='choropleth'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='choropleth'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='choropleth'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color values.
- geojson
Code:fig.update_traces(geojson=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringSets optional GeoJSON data associated with this trace. If not given, the features on the base map are used. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".
- featureidkey
Code:fig.update_traces(featureidkey=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:"id"
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example "properties.name".
- locations
Code:fig.update_traces(locations=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the coordinates via location IDs or names. See `locationmode` for more info.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='choropleth'))
Type: string or array of strings
Default:""
Sets the text elements associated with each location.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='choropleth'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='choropleth'))
Type: flaglist string. Any combination of"location"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"location"
,"z"
,"location+z"
,"location+z+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='choropleth'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- geo
Code:fig.update_traces(geo=<VALUE>, selector=dict(type='choropleth'))
Type: subplotid
Default:geo
Sets a reference between this trace's geospatial coordinates and a geographic map. If "geo" (the default value), the geospatial coordinates refer to `layout.geo`. If "geo2", the geospatial coordinates refer to `layout.geo2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='choropleth'))
Type: subplotidSets 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.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='choropleth'))
Type: color or array of colors
Default:"#444"
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` and `marker.line.cmax` if set.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='choropleth'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the lines bounding the marker points.
- color
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='choropleth'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the locations.
- line
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='choropleth'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='choropleth'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='choropleth'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='choropleth'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='choropleth'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='choropleth'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='choropleth'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='choropleth'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='choropleth'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='choropleth'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='choropleth'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='choropleth'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='choropleth'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=choropleth].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=choropleth].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=choropleth].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=choropleth].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=choropleth].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='choropleth'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='choropleth'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='choropleth'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='choropleth'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='choropleth'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='choropleth'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='choropleth'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='choropleth'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='choropleth'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='choropleth'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='choropleth'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='choropleth'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='choropleth'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='choropleth'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='choropleth'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='choropleth'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='choropleth'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='choropleth'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='choropleth'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='choropleth'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- opacity
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='choropleth'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- opacity
- marker
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='choropleth'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='choropleth'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='choropleth'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='choropleth'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='choropleth'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='choropleth'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='choropleth'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='choropleth'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='choropleth'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='choropleth'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- locationmode
Code:fig.update_traces(locationmode=<VALUE>, selector=dict(type='choropleth'))
Type: enumerated , one of ("ISO-3"
|"USA-states"
|"country names"
|"geojson-id"
)
Default:"ISO-3"
Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA-states", "country names" correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJSON linked to the `geojson` attribute.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='choropleth'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattermap traces
plotly.graph_objects.Scattermap
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data visualized as scatter point, lines or marker symbols on a MapLibre GL geographic map is provided by longitude/latitude pairs in `lon` and `lat`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattermap'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattermap'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattermap'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattermap'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattermap'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattermap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattermap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattermap'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- lat
Code:fig.update_traces(lat=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the latitude coordinates (in degrees North).
- lon
Code:fig.update_traces(lon=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the longitude coordinates (in degrees East).
- cluster
Code:fig.update_traces(cluster=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(cluster_color=<VALUE>, selector=dict(type='scattermap'))
Type: color or array of colorsSets the color for each cluster step.
- enabled
Code:fig.update_traces(cluster_enabled=<VALUE>, selector=dict(type='scattermap'))
Type: booleanDetermines whether clustering is enabled or disabled.
- maxzoom
Code:fig.update_traces(cluster_maxzoom=<VALUE>, selector=dict(type='scattermap'))
Type: number between or equal to 0 and 24
Default:24
Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered.
- opacity
Code:fig.update_traces(cluster_opacity=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the marker opacity.
- size
Code:fig.update_traces(cluster_size=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers greater than or equal to 0
Default:20
Sets the size for each cluster step.
- step
Code:fig.update_traces(cluster_step=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers greater than or equal to -1
Default:-1
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
- color
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:""
Sets text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `lat`, `lon` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"lon"
,"lat"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"lon"
,"lat"
,"lon+lat"
,"lon+lat+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scattermap'))
Type: subplotid
Default:map
Sets a reference between this trace's data coordinates and a map subplot. If "map" (the default value), the data refer to `layout.map`. If "map2", the data refer to `layout.map2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- allowoverlap
Code:fig.update_traces(marker_allowoverlap=<VALUE>, selector=dict(type='scattermap'))
Type: booleanFlag to draw all symbols, even if they overlap.
- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers
Default:"auto"
Sets the marker orientation from True North, in degrees clockwise. When using the "auto" default, no rotation would be applied in perspective views which is different from using a zero angle.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattermap'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattermap'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattermap'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattermap'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattermap'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattermap'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattermap'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattermap'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattermap'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattermap'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattermap'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattermap'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattermap'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattermap'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattermap'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattermap'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattermap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattermap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattermap'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattermap].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattermap].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattermap].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattermap].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattermap].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattermap'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattermap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattermap'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattermap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattermap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattermap'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattermap'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattermap'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattermap'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattermap'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattermap'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattermap'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:"circle"
Sets the marker symbol. Full list: https://www.map.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for "circle" symbols.
- allowoverlap
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below. - textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.Sets the icon text font (color=map.layer.paint.text-color, size=map.layer.layout.text-size). Has an effect only when `type` is set to "symbol".
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattermap'))
Type: color - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattermap'))
Type: string
Default:"Open Sans Regular, Arial Unicode MS Regular"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattermap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattermap'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattermap'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattermap'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattermap'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattermap'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- marker
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='scattermap'))
Type: stringDetermines if this scattermap trace's layers are to be inserted before the layer with the specified ID. By default, scattermap layers are inserted above all the base layers. To place the scattermap layers above every other layer, set `below` to "''".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattermap'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated , one of ("none"
|"toself"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattermap'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattermap'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattermap'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattermap'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattermap'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattermap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattermap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattermap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattermap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattermap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattermap'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattermap'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattermapbox traces
plotly.graph_objects.Scattermapbox
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. "scattermapbox" trace is deprecated! Please consider switching to the "scattermap" trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ The data visualized as scatter point, lines or marker symbols on a Mapbox GL geographic map is provided by longitude/latitude pairs in `lon` and `lat`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattermapbox'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattermapbox'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattermapbox'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattermapbox'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- lat
Code:fig.update_traces(lat=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the latitude coordinates (in degrees North).
- lon
Code:fig.update_traces(lon=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the longitude coordinates (in degrees East).
- cluster
Code:fig.update_traces(cluster=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(cluster_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color or array of colorsSets the color for each cluster step.
- enabled
Code:fig.update_traces(cluster_enabled=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanDetermines whether clustering is enabled or disabled.
- maxzoom
Code:fig.update_traces(cluster_maxzoom=<VALUE>, selector=dict(type='scattermapbox'))
Type: number between or equal to 0 and 24
Default:24
Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered.
- opacity
Code:fig.update_traces(cluster_opacity=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the marker opacity.
- size
Code:fig.update_traces(cluster_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers greater than or equal to 0
Default:20
Sets the size for each cluster step.
- step
Code:fig.update_traces(cluster_step=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers greater than or equal to -1
Default:-1
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
- color
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:""
Sets text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `lat`, `lon` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"lon"
,"lat"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"lon"
,"lat"
,"lon+lat"
,"lon+lat+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scattermapbox'))
Type: subplotid
Default:mapbox
mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- allowoverlap
Code:fig.update_traces(marker_allowoverlap=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanFlag to draw all symbols, even if they overlap.
- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers
Default:"auto"
Sets the marker orientation from True North, in degrees clockwise. When using the "auto" default, no rotation would be applied in perspective views which is different from using a zero angle.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattermapbox'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattermapbox'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattermapbox'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattermapbox'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattermapbox'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattermapbox'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattermapbox'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattermapbox'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattermapbox'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattermapbox].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattermapbox].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattermapbox].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattermapbox].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattermapbox].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattermapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattermapbox'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattermapbox'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattermapbox'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattermapbox'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:"circle"
Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for "circle" symbols.
- allowoverlap
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below. - textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to "symbol".
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattermapbox'))
Type: string
Default:"Open Sans Regular, Arial Unicode MS Regular"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattermapbox'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattermapbox'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- marker
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='scattermapbox'))
Type: stringDetermines if this scattermapbox trace's layers are to be inserted before the layer with the specified ID. By default, scattermapbox layers are inserted above all the base layers. To place the scattermapbox layers above every other layer, set `below` to "''".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattermapbox'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated , one of ("none"
|"toself"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattermapbox'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattermapbox'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattermapbox'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattermapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattermapbox'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattermapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattermapbox'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattermapbox'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
choroplethmap traces
plotly.graph_objects.Choroplethmap
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='choroplethmap'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='choroplethmap'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='choroplethmap'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='choroplethmap'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='choroplethmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color values.
- geojson
Code:fig.update_traces(geojson=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringSets the GeoJSON data associated with this trace. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".
- featureidkey
Code:fig.update_traces(featureidkey=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:"id"
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name".
- locations
Code:fig.update_traces(locations=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets which features found in "geojson" to plot using their feature `id` field.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='choroplethmap'))
Type: string or array of strings
Default:""
Sets the text elements associated with each location.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='choroplethmap'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='choroplethmap'))
Type: flaglist string. Any combination of"location"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"location"
,"z"
,"location+z"
,"location+z+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='choroplethmap'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `properties` 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='choroplethmap'))
Type: subplotid
Default:map
Sets a reference between this trace's data coordinates and a map subplot. If "map" (the default value), the data refer to `layout.map`. If "map2", the data refer to `layout.map2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='choroplethmap'))
Type: subplotidSets 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.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='choroplethmap'))
Type: color or array of colors
Default:"#444"
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` and `marker.line.cmax` if set.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the lines bounding the marker points.
- color
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the locations.
- line
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='choroplethmap'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='choroplethmap'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='choroplethmap'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='choroplethmap'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='choroplethmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='choroplethmap'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=choroplethmap].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=choroplethmap].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=choroplethmap].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=choroplethmap].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=choroplethmap].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='choroplethmap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='choroplethmap'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='choroplethmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='choroplethmap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='choroplethmap'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='choroplethmap'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='choroplethmap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='choroplethmap'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='choroplethmap'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='choroplethmap'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='choroplethmap'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='choroplethmap'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='choroplethmap'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='choroplethmap'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='choroplethmap'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='choroplethmap'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- opacity
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='choroplethmap'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- opacity
- marker
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='choroplethmap'))
Type: stringDetermines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmap traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='choroplethmap'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='choroplethmap'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='choroplethmap'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='choroplethmap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='choroplethmap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='choroplethmap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='choroplethmap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='choroplethmap'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='choroplethmap'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
choroplethmapbox traces
plotly.graph_objects.Choroplethmapbox
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. "choroplethmapbox" trace is deprecated! Please consider switching to the "choroplethmap" trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color values.
- geojson
Code:fig.update_traces(geojson=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringSets the GeoJSON data associated with this trace. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".
- featureidkey
Code:fig.update_traces(featureidkey=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:"id"
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name".
- locations
Code:fig.update_traces(locations=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets which features found in "geojson" to plot using their feature `id` field.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string or array of strings
Default:""
Sets the text elements associated with each location.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: flaglist string. Any combination of"location"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"location"
,"z"
,"location+z"
,"location+z+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variable `properties` 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: subplotid
Default:mapbox
mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: subplotidSets 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.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color or array of colors
Default:"#444"
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` and `marker.line.cmax` if set.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the lines bounding the marker points.
- color
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the locations.
- line
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='choroplethmapbox'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=choroplethmapbox].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=choroplethmapbox].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=choroplethmapbox].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=choroplethmapbox].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=choroplethmapbox].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- opacity
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- opacity
- marker
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: stringDetermines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='choroplethmapbox'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='choroplethmapbox'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
densitymap traces
plotly.graph_objects.Densitymap
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Draws a bivariate kernel density estimation with a Gaussian kernel from `lon` and `lat` coordinates and optional `z` values using a colorscale.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='densitymap'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='densitymap'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='densitymap'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='densitymap'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='densitymap'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='densitymap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='densitymap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='densitymap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='densitymap'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the points' weight. For example, a value of 10 would be equivalent to having 10 points of weight 1 in the same spot
- radius
Code:fig.update_traces(radius=<VALUE>, selector=dict(type='densitymap'))
Type: number or array of numbers greater than or equal to 1
Default:30
Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymap trace smoother, but less detailed.
- lat
Code:fig.update_traces(lat=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the latitude coordinates (in degrees North).
- lon
Code:fig.update_traces(lon=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the longitude coordinates (in degrees East).
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='densitymap'))
Type: string or array of strings
Default:""
Sets text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='densitymap'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='densitymap'))
Type: flaglist string. Any combination of"lon"
,"lat"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"lon"
,"lat"
,"lon+lat"
,"lon+lat+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='densitymap'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='densitymap'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='densitymap'))
Type: subplotid
Default:map
Sets a reference between this trace's data coordinates and a map subplot. If "map" (the default value), the data refer to `layout.map`. If "map2", the data refer to `layout.map2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='densitymap'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='densitymap'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='densitymap'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='densitymap'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='densitymap'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='densitymap'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='densitymap'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='densitymap'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='densitymap'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='densitymap'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='densitymap'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='densitymap'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='densitymap'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='densitymap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='densitymap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='densitymap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='densitymap'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=densitymap].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=densitymap].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=densitymap].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=densitymap].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=densitymap].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='densitymap'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='densitymap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='densitymap'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='densitymap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='densitymap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='densitymap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='densitymap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='densitymap'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='densitymap'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='densitymap'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='densitymap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='densitymap'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='densitymap'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='densitymap'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='densitymap'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='densitymap'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='densitymap'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='densitymap'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='densitymap'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='densitymap'))
Type: stringDetermines if the densitymap trace will be inserted before the layer with the specified ID. By default, densitymap traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='densitymap'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='densitymap'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='densitymap'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='densitymap'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='densitymap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='densitymap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='densitymap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='densitymap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='densitymap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='densitymap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='densitymap'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='densitymap'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
densitymapbox traces
plotly.graph_objects.Densitymapbox
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. "densitymapbox" trace is deprecated! Please consider switching to the "densitymap" trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ Draws a bivariate kernel density estimation with a Gaussian kernel from `lon` and `lat` coordinates and optional `z` values using a colorscale.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='densitymapbox'))
Type: booleanDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='densitymapbox'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='densitymapbox'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='densitymapbox'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='densitymapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='densitymapbox'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the points' weight. For example, a value of 10 would be equivalent to having 10 points of weight 1 in the same spot
- radius
Code:fig.update_traces(radius=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or array of numbers greater than or equal to 1
Default:30
Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed.
- lat
Code:fig.update_traces(lat=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the latitude coordinates (in degrees North).
- lon
Code:fig.update_traces(lon=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the longitude coordinates (in degrees East).
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='densitymapbox'))
Type: string or array of strings
Default:""
Sets text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='densitymapbox'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (lon,lat) pair 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 (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='densitymapbox'))
Type: flaglist string. Any combination of"lon"
,"lat"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"lon"
,"lat"
,"lon+lat"
,"lon+lat+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='densitymapbox'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='densitymapbox'))
Type: subplotid
Default:mapbox
mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='densitymapbox'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='densitymapbox'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='densitymapbox'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='densitymapbox'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='densitymapbox'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='densitymapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='densitymapbox'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=densitymapbox].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=densitymapbox].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=densitymapbox].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=densitymapbox].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=densitymapbox].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='densitymapbox'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='densitymapbox'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='densitymapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='densitymapbox'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='densitymapbox'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='densitymapbox'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='densitymapbox'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='densitymapbox'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='densitymapbox'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='densitymapbox'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='densitymapbox'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='densitymapbox'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='densitymapbox'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='densitymapbox'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='densitymapbox'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- below
Code:fig.update_traces(below=<VALUE>, selector=dict(type='densitymapbox'))
Type: stringDetermines if the densitymapbox trace will be inserted before the layer with the specified ID. By default, densitymapbox traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='densitymapbox'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='densitymapbox'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='densitymapbox'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='densitymapbox'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='densitymapbox'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='densitymapbox'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='densitymapbox'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='densitymapbox'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='densitymapbox'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scatterpolar traces
plotly.graph_objects.Scatterpolar
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The scatterpolar trace type encompasses line charts, scatter charts, text charts, and bubble charts in polar coordinates. The data visualized as scatter point or lines is set in `r` (radial) and `theta` (angular) coordinates Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scatterpolar'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scatterpolar'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scatterpolar'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scatterpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scatterpolar'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- r
Code:fig.update_traces(r=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the radial coordinates
- r0
Code:fig.update_traces(r0=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate string
Default:0
Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step.
- dr
Code:fig.update_traces(dr=<VALUE>, selector=dict(type='scatterpolar'))
Type: number
Default:1
Sets the r coordinate step.
- theta
Code:fig.update_traces(theta=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the angular coordinates
- theta0
Code:fig.update_traces(theta0=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate string
Default:0
Alternate to `theta`. Builds a linear space of theta coordinates. Use with `dtheta` where `theta0` is the starting coordinate and `dtheta` the step.
- dtheta
Code:fig.update_traces(dtheta=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates.
- thetaunit
Code:fig.update_traces(thetaunit=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("radians"
|"degrees"
|"gradians"
)
Default:"degrees"
Sets the unit of input "theta" values. Has an effect only when on "linear" angular axes.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `r`, `theta` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"r"
,"theta"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"r"
,"theta"
,"r+theta"
,"r+theta+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scatterpolar'))
Type: subplotid
Default:polar
Sets a reference between this trace's data coordinates and a polar subplot. If "polar" (the default value), the data refer to `layout.polar`. If "polar2", the data refer to `layout.polar2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scatterpolar'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("previous"
|"up"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scatterpolar'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scatterpolar'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatterpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scatterpolar'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatterpolar].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatterpolar].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatterpolar].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatterpolar].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatterpolar].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scatterpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scatterpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scatterpolar'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scatterpolar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scatterpolar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scatterpolar'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- maxdisplayed
Code:fig.update_traces(marker_maxdisplayed=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:0
Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scatterpolar'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- backoff
Code:fig.update_traces(line_backoff=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 0
Default:"auto"
Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With "auto" the lines would trim before markers if `marker.angleref` is set to "previous".
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scatterpolar'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("linear"
|"spline"
)
Default:"linear"
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='scatterpolar'))
Type: number between or equal to 0 and 1.3
Default:1
Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- backoff
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scatterpolar'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scatterpolar'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanDetermines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scatterpolar'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated , one of ("none"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterpolar has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scatterpolar'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scatterpolar'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scatterpolar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scatterpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scatterpolar'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='scatterpolar'))
Type: flaglist string. Any combination of"points"
,"fills"
joined with a"+"
Examples:"points"
,"fills"
,"points+fills"
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scatterpolar'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scatterpolargl traces
plotly.graph_objects.Scatterpolargl
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The scatterpolargl trace type encompasses line charts, scatter charts, and bubble charts in polar coordinates using the WebGL plotting engine. The data visualized as scatter point or lines is set in `r` (radial) and `theta` (angular) coordinates Bubble charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scatterpolargl'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scatterpolargl'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scatterpolargl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- r
Code:fig.update_traces(r=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the radial coordinates
- r0
Code:fig.update_traces(r0=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate string
Default:0
Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step.
- dr
Code:fig.update_traces(dr=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number
Default:1
Sets the r coordinate step.
- theta
Code:fig.update_traces(theta=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the angular coordinates
- theta0
Code:fig.update_traces(theta0=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate string
Default:0
Alternate to `theta`. Builds a linear space of theta coordinates. Use with `dtheta` where `theta0` is the starting coordinate and `dtheta` the step.
- dtheta
Code:fig.update_traces(dtheta=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates.
- thetaunit
Code:fig.update_traces(thetaunit=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("radians"
|"degrees"
|"gradians"
)
Default:"degrees"
Sets the unit of input "theta" values. Has an effect only when on "linear" angular axes.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `r`, `theta` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"r"
,"theta"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"r"
,"theta"
,"r+theta"
,"r+theta+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scatterpolargl'))
Type: subplotid
Default:polar
Sets a reference between this trace's data coordinates and a polar subplot. If "polar" (the default value), the data refer to `layout.polar`. If "polar2", the data refer to `layout.polar2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scatterpolargl'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scatterpolargl'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scatterpolargl'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scatterpolargl'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatterpolargl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scatterpolargl'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatterpolargl].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatterpolargl].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatterpolargl].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatterpolargl].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatterpolargl].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scatterpolargl'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scatterpolargl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scatterpolargl'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scatterpolargl'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scatterpolargl'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scatterpolargl'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scatterpolargl'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("dash"
|"dashdot"
|"dot"
|"longdash"
|"longdashdot"
|"solid"
)
Default:"solid"
Sets the style of the lines.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"bold"
)
Default:"normal"
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scatterpolargl'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated , one of ("none"
|"tozeroy"
|"tozerox"
|"tonexty"
|"tonextx"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scatterpolargl'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scatterpolargl'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scatterpolargl'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scatterpolargl'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scatterpolargl'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scatterpolargl'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scatterpolargl'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
barpolar traces
plotly.graph_objects.Barpolar
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data visualized by the radial span of the bars is set in `r`
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='barpolar'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='barpolar'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='barpolar'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='barpolar'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='barpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='barpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='barpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='barpolar'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- base
Code:fig.update_traces(base=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringSets where the bar base is drawn (in radial axis units). In "stack" barmode, traces that set "base" will be excluded and drawn in "overlay" mode instead.
- r
Code:fig.update_traces(r=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the radial coordinates
- r0
Code:fig.update_traces(r0=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate string
Default:0
Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step.
- dr
Code:fig.update_traces(dr=<VALUE>, selector=dict(type='barpolar'))
Type: number
Default:1
Sets the r coordinate step.
- theta
Code:fig.update_traces(theta=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the angular coordinates
- theta0
Code:fig.update_traces(theta0=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate string
Default:0
Alternate to `theta`. Builds a linear space of theta coordinates. Use with `dtheta` where `theta0` is the starting coordinate and `dtheta` the step.
- dtheta
Code:fig.update_traces(dtheta=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates.
- thetaunit
Code:fig.update_traces(thetaunit=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("radians"
|"degrees"
|"gradians"
)
Default:"degrees"
Sets the unit of input "theta" values. Has an effect only when on "linear" angular axes.
- width
Code:fig.update_traces(width=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers greater than or equal to 0Sets the bar angular width (in "thetaunit" units).
- offset
Code:fig.update_traces(offset=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbersShifts the angular position where the bar is drawn (in "thetatunit" units).
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='barpolar'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='barpolar'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='barpolar'))
Type: flaglist string. Any combination of"r"
,"theta"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"r"
,"theta"
,"r+theta"
,"r+theta+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='barpolar'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='barpolar'))
Type: subplotid
Default:polar
Sets a reference between this trace's data coordinates and a polar subplot. If "polar" (the default value), the data refer to `layout.polar`. If "polar2", the data refer to `layout.polar2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='barpolar'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='barpolar'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='barpolar'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='barpolar'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='barpolar'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='barpolar'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='barpolar'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='barpolar'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='barpolar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='barpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='barpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='barpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='barpolar'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=barpolar].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=barpolar].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=barpolar].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=barpolar].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=barpolar].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='barpolar'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='barpolar'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='barpolar'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='barpolar'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='barpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='barpolar'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='barpolar'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='barpolar'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='barpolar'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='barpolar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='barpolar'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='barpolar'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='barpolar'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='barpolar'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='barpolar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers between or equal to 0 and 1
Default:1
Sets the opacity of the bars.
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='barpolar'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='barpolar'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='barpolar'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- autocolorscale
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='barpolar'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='barpolar'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='barpolar'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='barpolar'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='barpolar'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='barpolar'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='barpolar'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='barpolar'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='barpolar'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='barpolar'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='barpolar'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='barpolar'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='barpolar'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='barpolar'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='barpolar'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='barpolar'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scatterternary traces
plotly.graph_objects.Scatterternary
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Provides similar functionality to the "scatter" type but on a ternary phase diagram. The data is provided by at least two arrays out of `a`, `b`, `c` triplets.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scatterternary'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scatterternary'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scatterternary'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scatterternary'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scatterternary'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scatterternary'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- a
Code:fig.update_traces(a=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the quantity of component `a` in each data point. If `a`, `b`, and `c` are all provided, they need not be normalized, only the relative values matter. If only two arrays are provided they must be normalized to match `ternary<i>.sum`.
- b
Code:fig.update_traces(b=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the quantity of component `a` in each data point. If `a`, `b`, and `c` are all provided, they need not be normalized, only the relative values matter. If only two arrays are provided they must be normalized to match `ternary<i>.sum`.
- c
Code:fig.update_traces(c=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the quantity of component `a` in each data point. If `a`, `b`, and `c` are all provided, they need not be normalized, only the relative values matter. If only two arrays are provided they must be normalized to match `ternary<i>.sum`.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:""
Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `a`, `b`, `c` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"a"
,"b"
,"c"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"a"
,"b"
,"a+b"
,"a+b+c"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scatterternary'))
Type: subplotid
Default:ternary
Sets a reference between this trace's data coordinates and a ternary subplot. If "ternary" (the default value), the data refer to `layout.ternary`. If "ternary2", the data refer to `layout.ternary2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scatterternary'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("previous"
|"up"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scatterternary'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scatterternary'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scatterternary'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scatterternary'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scatterternary'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scatterternary'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scatterternary'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scatterternary].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scatterternary].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scatterternary].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scatterternary].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scatterternary].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scatterternary'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scatterternary'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scatterternary'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scatterternary'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scatterternary'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scatterternary'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scatterternary'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scatterternary'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scatterternary'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scatterternary'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- maxdisplayed
Code:fig.update_traces(marker_maxdisplayed=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:0
Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scatterternary'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scatterternary'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scatterternary'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- backoff
Code:fig.update_traces(line_backoff=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 0
Default:"auto"
Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With "auto" the lines would trim before markers if `marker.angleref` is set to "previous".
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scatterternary'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("linear"
|"spline"
)
Default:"linear"
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='scatterternary'))
Type: number between or equal to 0 and 1.3
Default:1
Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- backoff
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scatterternary'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scatterternary'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scatterternary'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='scatterternary'))
Type: boolean
Default:True
Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scatterternary'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated , one of ("none"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterternary has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scatterternary'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scatterternary'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scatterternary'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scatterternary'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scatterternary'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scatterternary'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scatterternary'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scatterternary'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='scatterternary'))
Type: flaglist string. Any combination of"points"
,"fills"
joined with a"+"
Examples:"points"
,"fills"
,"points+fills"
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
- sum
Code:fig.update_traces(sum=<VALUE>, selector=dict(type='scatterternary'))
Type: number greater than or equal to 0
Default:0
The number each triplet should sum to, if only two of `a`, `b`, and `c` are provided. This overrides `ternary<i>.sum` to normalize this specific trace, but does not affect the values displayed on the axes. 0 (or missing) means to use ternary<i>.sum
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scatterternary'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattersmith traces
plotly.graph_objects.Scattersmith
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The scattersmith trace type encompasses line charts, scatter charts, text charts, and bubble charts in smith coordinates. The data visualized as scatter point or lines is set in `real` and `imag` (imaginary) coordinates Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattersmith'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattersmith'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattersmith'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattersmith'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattersmith'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattersmith'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- imag
Code:fig.update_traces(imag=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the imaginary component of the data, in units of normalized impedance such that real=1, imag=0 is the center of the chart.
- real
Code:fig.update_traces(real=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the real component of the data, in units of normalized impedance such that real=1, imag=0 is the center of the chart.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `real`, `imag` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (x,y) pair. 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) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"real"
,"imag"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"real"
,"imag"
,"real+imag"
,"real+imag+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- subplot
Code:fig.update_traces(subplot=<VALUE>, selector=dict(type='scattersmith'))
Type: subplotid
Default:smith
Sets a reference between this trace's data coordinates and a smith subplot. If "smith" (the default value), the data refer to `layout.smith`. If "smith2", the data refer to `layout.smith2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattersmith'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("previous"
|"up"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattersmith'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattersmith'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattersmith'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattersmith'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattersmith'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattersmith'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattersmith].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattersmith].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattersmith].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattersmith].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattersmith].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattersmith'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattersmith'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattersmith'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattersmith'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattersmith'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattersmith'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scattersmith'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scattersmith'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scattersmith'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scattersmith'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- maxdisplayed
Code:fig.update_traces(marker_maxdisplayed=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:0
Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattersmith'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- backoff
Code:fig.update_traces(line_backoff=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 0
Default:"auto"
Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With "auto" the lines would trim before markers if `marker.angleref` is set to "previous".
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scattersmith'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("linear"
|"spline"
)
Default:"linear"
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='scattersmith'))
Type: number between or equal to 0 and 1.3
Default:1
Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- backoff
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattersmith'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattersmith'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattersmith'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- cliponaxis
Code:fig.update_traces(cliponaxis=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanDetermines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattersmith'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated , one of ("none"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scattersmith has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattersmith'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattersmith'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattersmith'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattersmith'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattersmith'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattersmith'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattersmith'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattersmith'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='scattersmith'))
Type: flaglist string. Any combination of"points"
,"fills"
joined with a"+"
Examples:"points"
,"fills"
,"points+fills"
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattersmith'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
sunburst traces
plotly.graph_objects.Sunburst
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Visualize hierarchal data spanning outward radially from root to leaves. The sunburst sectors are determined by the entries in "labels" or "ids" and in "parents".
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='sunburst'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='sunburst'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='sunburst'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='sunburst'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='sunburst'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='sunburst'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- parents
Code:fig.update_traces(parents=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the parent sectors for each of the sectors. Empty string items '' are understood to reference the root node in the hierarchy. If `ids` is filled, `parents` items are understood to be "ids" themselves. When `ids` is not set, plotly attempts to find matching items in `labels`, but beware they must be unique.
- values
Code:fig.update_traces(values=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values associated with each of the sectors. Use with `branchvalues` to determine how the values are summed.
- labels
Code:fig.update_traces(labels=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the labels of each of the sectors.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"name"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"all"
Default:"label+text+value+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='sunburst'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this sunburst trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='sunburst'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this sunburst trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='sunburst'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this sunburst trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='sunburst'))
Type: list
Default:[0, 1]
Sets the vertical domain of this sunburst trace (in plot fraction).
- column
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='sunburst'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if colors is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='sunburst'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='sunburst'))
Type: numberSets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='sunburst'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='sunburst'))
Type: numberSets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='sunburst'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='sunburst'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='sunburst'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='sunburst'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='sunburst'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='sunburst'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='sunburst'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='sunburst'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='sunburst'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='sunburst'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='sunburst'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='sunburst'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=sunburst].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=sunburst].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=sunburst].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=sunburst].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=sunburst].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='sunburst'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='sunburst'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='sunburst'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='sunburst'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='sunburst'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='sunburst'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='sunburst'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colors
Code:fig.update_traces(marker_colors=<VALUE>, selector=dict(type='sunburst'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='sunburst'))
Type: colorscaleSets the colorscale. Has an effect only if colors is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colorsSets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the line enclosing each sector.
- color
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='sunburst'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='sunburst'))
Type: booleanReverses the color mapping if True. Has an effect only if colors is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='sunburst'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array.
- autocolorscale
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"none"
Determines which trace information appear on the graph.
- branchvalues
Code:fig.update_traces(branchvalues=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("remainder"
|"total"
)
Default:"remainder"
Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves.
- count
Code:fig.update_traces(count=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"branches"
,"leaves"
joined with a"+"
Examples:"branches"
,"leaves"
,"branches+leaves"
Default:"leaves"
Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='sunburst'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying inside the sector.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- insidetextorientation
Code:fig.update_traces(insidetextorientation=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated , one of ("horizontal"
|"radial"
|"tangential"
|"auto"
)
Default:"auto"
Controls the orientation of the text inside chart sectors. When set to "auto", text may be oriented in any direction in order to be as big as possible in the middle of a sector. The "horizontal" option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The "radial" option orients text along the radius of the sector. The "tangential" option orients text perpendicular to the radius of the sector.
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented at the center of a sunburst graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='sunburst'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='sunburst'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='sunburst'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='sunburst'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='sunburst'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='sunburst'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- root
Code:fig.update_traces(root=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(root_color=<VALUE>, selector=dict(type='sunburst'))
Type: color
Default:"rgba(0,0,0,0)"
sets the color of the root node for a sunburst/treemap/icicle trace. this has no effect when a colorscale is used to set the markers.
- color
- leaf
Code:fig.update_traces(leaf=dict(...), selector=dict(type='sunburst'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(leaf_opacity=<VALUE>, selector=dict(type='sunburst'))
Type: number between or equal to 0 and 1Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
- opacity
- level
Code:fig.update_traces(level=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringSets the level from which this trace hierarchy is rendered. Set `level` to `''` to start from the root node in the hierarchy. Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching item in `labels`.
- maxdepth
Code:fig.update_traces(maxdepth=<VALUE>, selector=dict(type='sunburst'))
Type: integer
Default:-1
Sets the number of rendered sectors from any given `level`. Set `maxdepth` to "-1" to render all the levels in the hierarchy.
- rotation
Code:fig.update_traces(rotation=<VALUE>, selector=dict(type='sunburst'))
Type: angle
Default:0
Rotates the whole diagram counterclockwise by some angle. By default the first slice starts at 3 o'clock.
- sort
Code:fig.update_traces(sort=<VALUE>, selector=dict(type='sunburst'))
Type: boolean
Default:True
Determines whether or not the sectors are reordered from largest to smallest.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='sunburst'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
treemap traces
plotly.graph_objects.Treemap
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Visualize hierarchal data from leaves (and/or outer branches) towards root with rectangles. The treemap sectors are determined by the entries in "labels" or "ids" and in "parents".
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='treemap'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='treemap'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='treemap'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='treemap'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='treemap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='treemap'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- parents
Code:fig.update_traces(parents=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the parent sectors for each of the sectors. Empty string items '' are understood to reference the root node in the hierarchy. If `ids` is filled, `parents` items are understood to be "ids" themselves. When `ids` is not set, plotly attempts to find matching items in `labels`, but beware they must be unique.
- values
Code:fig.update_traces(values=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values associated with each of the sectors. Use with `branchvalues` to determine how the values are summed.
- labels
Code:fig.update_traces(labels=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the labels of each of the sectors.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"top left"
Sets the positions of the `text` elements.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"name"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"all"
Default:"label+text+value+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='treemap'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this treemap trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='treemap'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this treemap trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='treemap'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this treemap trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='treemap'))
Type: list
Default:[0, 1]
Sets the vertical domain of this treemap trace (in plot fraction).
- column
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='treemap'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if colors is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='treemap'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='treemap'))
Type: numberSets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='treemap'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='treemap'))
Type: numberSets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='treemap'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='treemap'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='treemap'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='treemap'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='treemap'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='treemap'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='treemap'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='treemap'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='treemap'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='treemap'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='treemap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='treemap'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=treemap].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=treemap].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=treemap].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=treemap].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=treemap].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='treemap'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='treemap'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='treemap'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='treemap'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='treemap'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='treemap'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colors
Code:fig.update_traces(marker_colors=<VALUE>, selector=dict(type='treemap'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='treemap'))
Type: colorscaleSets the colorscale. Has an effect only if colors is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- cornerradius
Code:fig.update_traces(marker_cornerradius=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:0
Sets the maximum rounding of corners (in px).
- depthfade
Code:fig.update_traces(marker_depthfade=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of (True
|False
|"reversed"
)Determines if the sector colors are faded towards the background from the leaves up to the headers. This option is unavailable when a `colorscale` is present, defaults to False when `marker.colors` is set, but otherwise defaults to True. When set to "reversed", the fading direction is inverted, that is the top elements within hierarchy are drawn with fully saturated colors while the leaves are faded towards the background color.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colorsSets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the line enclosing each sector.
- color
- pad
Code:fig.update_traces(marker_pad=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- b
Code:fig.update_traces(marker_pad_b=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0Sets the padding form the bottom (in px).
- l
Code:fig.update_traces(marker_pad_l=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0Sets the padding form the left (in px).
- r
Code:fig.update_traces(marker_pad_r=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0Sets the padding form the right (in px).
- t
Code:fig.update_traces(marker_pad_t=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0Sets the padding form the top (in px).
- b
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='treemap'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='treemap'))
Type: booleanReverses the color mapping if True. Has an effect only if colors is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='treemap'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array.
- autocolorscale
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='treemap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"none"
Determines which trace information appear on the graph.
- branchvalues
Code:fig.update_traces(branchvalues=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("remainder"
|"total"
)
Default:"remainder"
Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves.
- count
Code:fig.update_traces(count=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"branches"
,"leaves"
joined with a"+"
Examples:"branches"
,"leaves"
,"branches+leaves"
Default:"leaves"
Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0.
- tiling
Code:fig.update_traces(tiling=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- flip
Code:fig.update_traces(tiling_flip=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"x"
,"y"
joined with a"+"
Examples:"x"
,"y"
,"x+y"
Default:""
Determines if the positions obtained from solver are flipped on each axis.
- packing
Code:fig.update_traces(tiling_packing=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("squarify"
|"binary"
|"dice"
|"slice"
|"slice-dice"
|"dice-slice"
)
Default:"squarify"
Determines d3 treemap solver. For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling
- pad
Code:fig.update_traces(tiling_pad=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 0
Default:3
Sets the inner padding (in px).
- squarifyratio
Code:fig.update_traces(tiling_squarifyratio=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 1
Default:1
When using "squarify" `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using "squarify", unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts.
- flip
- pathbar
Code:fig.update_traces(pathbar=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- edgeshape
Code:fig.update_traces(pathbar_edgeshape=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of (">"
|"<"
|"|"
|"/"
|"\"
)
Default:">"
Determines which shape is used for edges between `barpath` labels.
- side
Code:fig.update_traces(pathbar_side=<VALUE>, selector=dict(type='treemap'))
Type: enumerated , one of ("top"
|"bottom"
)
Default:"top"
Determines on which side of the the treemap the `pathbar` should be presented.
- textfont
Code:fig.update_traces(pathbar_textfont=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the font used inside `pathbar`.
- color
Code:fig.update_traces(pathbar_textfont_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colors - family
Code:fig.update_traces(pathbar_textfont_family=<VALUE>, selector=dict(type='treemap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(pathbar_textfont_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(pathbar_textfont_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(pathbar_textfont_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(pathbar_textfont_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(pathbar_textfont_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(pathbar_textfont_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(pathbar_textfont_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- thickness
Code:fig.update_traces(pathbar_thickness=<VALUE>, selector=dict(type='treemap'))
Type: number greater than or equal to 12Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side.
- visible
Code:fig.update_traces(pathbar_visible=<VALUE>, selector=dict(type='treemap'))
Type: boolean
Default:True
Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap.
- edgeshape
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='treemap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying inside the sector.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='treemap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='treemap'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='treemap'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='treemap'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='treemap'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='treemap'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='treemap'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='treemap'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- root
Code:fig.update_traces(root=dict(...), selector=dict(type='treemap'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(root_color=<VALUE>, selector=dict(type='treemap'))
Type: color
Default:"rgba(0,0,0,0)"
sets the color of the root node for a sunburst/treemap/icicle trace. this has no effect when a colorscale is used to set the markers.
- color
- level
Code:fig.update_traces(level=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringSets the level from which this trace hierarchy is rendered. Set `level` to `''` to start from the root node in the hierarchy. Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching item in `labels`.
- maxdepth
Code:fig.update_traces(maxdepth=<VALUE>, selector=dict(type='treemap'))
Type: integer
Default:-1
Sets the number of rendered sectors from any given `level`. Set `maxdepth` to "-1" to render all the levels in the hierarchy.
- sort
Code:fig.update_traces(sort=<VALUE>, selector=dict(type='treemap'))
Type: boolean
Default:True
Determines whether or not the sectors are reordered from largest to smallest.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='treemap'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
icicle traces
plotly.graph_objects.Icicle
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Visualize hierarchal data from leaves (and/or outer branches) towards root with rectangles. The icicle sectors are determined by the entries in "labels" or "ids" and in "parents".
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='icicle'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='icicle'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='icicle'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='icicle'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='icicle'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='icicle'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- parents
Code:fig.update_traces(parents=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the parent sectors for each of the sectors. Empty string items '' are understood to reference the root node in the hierarchy. If `ids` is filled, `parents` items are understood to be "ids" themselves. When `ids` is not set, plotly attempts to find matching items in `labels`, but beware they must be unique.
- values
Code:fig.update_traces(values=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values associated with each of the sectors. Use with `branchvalues` to determine how the values are summed.
- labels
Code:fig.update_traces(labels=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the labels of each of the sectors.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"top left"
Sets the positions of the `text` elements.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"name"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"all"
Default:"label+text+value+name"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:""
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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='icicle'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this icicle trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='icicle'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this icicle trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='icicle'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this icicle trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='icicle'))
Type: list
Default:[0, 1]
Sets the vertical domain of this icicle trace (in plot fraction).
- column
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='icicle'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if colors is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='icicle'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='icicle'))
Type: numberSets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='icicle'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='icicle'))
Type: numberSets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='icicle'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='icicle'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='icicle'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='icicle'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='icicle'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='icicle'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='icicle'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='icicle'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='icicle'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='icicle'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='icicle'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='icicle'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=icicle].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=icicle].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=icicle].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=icicle].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=icicle].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='icicle'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='icicle'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='icicle'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='icicle'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='icicle'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='icicle'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colors
Code:fig.update_traces(marker_colors=<VALUE>, selector=dict(type='icicle'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='icicle'))
Type: colorscaleSets the colorscale. Has an effect only if colors is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colorsSets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 0
Default:1
Sets the width (in px) of the line enclosing each sector.
- color
- pattern
Code:fig.update_traces(marker_pattern=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the pattern within the marker.
- bgcolor
Code:fig.update_traces(marker_pattern_bgcolor=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colorsWhen there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background.
- fgcolor
Code:fig.update_traces(marker_pattern_fgcolor=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colorsWhen there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.
- fgopacity
Code:fig.update_traces(marker_pattern_fgopacity=<VALUE>, selector=dict(type='icicle'))
Type: number between or equal to 0 and 1Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
- fillmode
Code:fig.update_traces(marker_pattern_fillmode=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("replace"
|"overlay"
)
Default:"replace"
Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.
- shape
Code:fig.update_traces(marker_pattern_shape=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of (""
|"/"
|"\"
|"x"
|"-"
|"|"
|"+"
|"."
)
Default:""
Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- size
Code:fig.update_traces(marker_pattern_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 0
Default:8
Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- solidity
Code:fig.update_traces(marker_pattern_solidity=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers between or equal to 0 and 1
Default:0.3
Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- bgcolor
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='icicle'))
Type: booleanReverses the color mapping if True. Has an effect only if colors is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='icicle'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array.
- autocolorscale
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo`.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='icicle'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textinfo
Code:fig.update_traces(textinfo=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"label"
,"text"
,"value"
,"current path"
,"percent root"
,"percent entry"
,"percent parent"
joined with a"+"
OR"none"
.
Examples:"label"
,"text"
,"label+text"
,"label+text+value"
,"none"
Determines which trace information appear on the graph.
- branchvalues
Code:fig.update_traces(branchvalues=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("remainder"
|"total"
)
Default:"remainder"
Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves.
- count
Code:fig.update_traces(count=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"branches"
,"leaves"
joined with a"+"
Examples:"branches"
,"leaves"
,"branches+leaves"
Default:"leaves"
Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0.
- tiling
Code:fig.update_traces(tiling=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- flip
Code:fig.update_traces(tiling_flip=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"x"
,"y"
joined with a"+"
Examples:"x"
,"y"
,"x+y"
Default:""
Determines if the positions obtained from solver are flipped on each axis.
- orientation
Code:fig.update_traces(tiling_orientation=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("v"
|"h"
)
Default:"h"
When set in conjunction with `tiling.flip`, determines on which side the root nodes are drawn in the chart. If `tiling.orientation` is "v" and `tiling.flip` is "", the root nodes appear at the top. If `tiling.orientation` is "v" and `tiling.flip` is "y", the root nodes appear at the bottom. If `tiling.orientation` is "h" and `tiling.flip` is "", the root nodes appear at the left. If `tiling.orientation` is "h" and `tiling.flip` is "x", the root nodes appear at the right.
- pad
Code:fig.update_traces(tiling_pad=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 0
Default:0
Sets the inner padding (in px).
- flip
- pathbar
Code:fig.update_traces(pathbar=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- edgeshape
Code:fig.update_traces(pathbar_edgeshape=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of (">"
|"<"
|"|"
|"/"
|"\"
)
Default:">"
Determines which shape is used for edges between `barpath` labels.
- side
Code:fig.update_traces(pathbar_side=<VALUE>, selector=dict(type='icicle'))
Type: enumerated , one of ("top"
|"bottom"
)
Default:"top"
Determines on which side of the the treemap the `pathbar` should be presented.
- textfont
Code:fig.update_traces(pathbar_textfont=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the font used inside `pathbar`.
- color
Code:fig.update_traces(pathbar_textfont_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colors - family
Code:fig.update_traces(pathbar_textfont_family=<VALUE>, selector=dict(type='icicle'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(pathbar_textfont_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(pathbar_textfont_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(pathbar_textfont_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(pathbar_textfont_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(pathbar_textfont_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(pathbar_textfont_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(pathbar_textfont_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- thickness
Code:fig.update_traces(pathbar_thickness=<VALUE>, selector=dict(type='icicle'))
Type: number greater than or equal to 12Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side.
- visible
Code:fig.update_traces(pathbar_visible=<VALUE>, selector=dict(type='icicle'))
Type: boolean
Default:True
Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap.
- edgeshape
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='icicle'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- insidetextfont
Code:fig.update_traces(insidetextfont=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying inside the sector.
- color
Code:fig.update_traces(insidetextfont_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colors - family
Code:fig.update_traces(insidetextfont_family=<VALUE>, selector=dict(type='icicle'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(insidetextfont_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(insidetextfont_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(insidetextfont_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(insidetextfont_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(insidetextfont_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(insidetextfont_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(insidetextfont_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- outsidetextfont
Code:fig.update_traces(outsidetextfont=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used.
- color
Code:fig.update_traces(outsidetextfont_color=<VALUE>, selector=dict(type='icicle'))
Type: color or array of colors - family
Code:fig.update_traces(outsidetextfont_family=<VALUE>, selector=dict(type='icicle'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(outsidetextfont_lineposition=<VALUE>, selector=dict(type='icicle'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(outsidetextfont_shadow=<VALUE>, selector=dict(type='icicle'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(outsidetextfont_size=<VALUE>, selector=dict(type='icicle'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(outsidetextfont_style=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(outsidetextfont_textcase=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(outsidetextfont_variant=<VALUE>, selector=dict(type='icicle'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(outsidetextfont_weight=<VALUE>, selector=dict(type='icicle'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- root
Code:fig.update_traces(root=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(root_color=<VALUE>, selector=dict(type='icicle'))
Type: color
Default:"rgba(0,0,0,0)"
sets the color of the root node for a sunburst/treemap/icicle trace. this has no effect when a colorscale is used to set the markers.
- color
- leaf
Code:fig.update_traces(leaf=dict(...), selector=dict(type='icicle'))
Type: dict containing one or more of the keys listed below.- opacity
Code:fig.update_traces(leaf_opacity=<VALUE>, selector=dict(type='icicle'))
Type: number between or equal to 0 and 1Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
- opacity
- level
Code:fig.update_traces(level=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringSets the level from which this trace hierarchy is rendered. Set `level` to `''` to start from the root node in the hierarchy. Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching item in `labels`.
- maxdepth
Code:fig.update_traces(maxdepth=<VALUE>, selector=dict(type='icicle'))
Type: integer
Default:-1
Sets the number of rendered sectors from any given `level`. Set `maxdepth` to "-1" to render all the levels in the hierarchy.
- sort
Code:fig.update_traces(sort=<VALUE>, selector=dict(type='icicle'))
Type: boolean
Default:True
Determines whether or not the sectors are reordered from largest to smallest.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='icicle'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
sankey traces
plotly.graph_objects.Sankey
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Sankey plots for network flow data analysis. The nodes are specified in `nodes` and the links between sources and targets in `links`. The colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='sankey'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='sankey'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='sankey'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='sankey'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='sankey'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='sankey'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='sankey'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='sankey'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:""
,""
,"+"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. Note that this attribute is superseded by `node.hoverinfo` and `node.hoverinfo` for nodes and links respectively.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='sankey'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='sankey'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this sankey trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='sankey'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this sankey trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='sankey'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this sankey trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='sankey'))
Type: list
Default:[0, 1]
Sets the vertical domain of this sankey trace (in plot fraction).
- column
- orientation
Code:fig.update_traces(orientation=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("v"
|"h"
)
Default:"h"
Sets the orientation of the Sankey diagram.
- node
Code:fig.update_traces(node=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.The nodes of the Sankey plot.
- align
Code:fig.update_traces(node_align=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("justify"
|"left"
|"right"
|"center"
)
Default:"justify"
Sets the alignment method used to position the nodes along the horizontal axis.
- color
Code:fig.update_traces(node_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the `node` color. It can be a single value, or an array for specifying color for each `node`. If `node.color` is omitted, then the default `Plotly` color palette will be cycled through to have a variety of colors. These defaults are not fully opaque, to allow some visibility of what is beneath the node.
- customdata
Code:fig.update_traces(node_customdata=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Assigns extra data to each node.
- groups
Code:fig.update_traces(node_groups=list(...), selector=dict(type='sankey'))
Type: list
Default:[]
Groups of nodes. Each group is defined by an array with the indices of the nodes it contains. Multiple groups can be specified.
- hoverinfo
Code:fig.update_traces(node_hoverinfo=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("all"
|"none"
|"skip"
)
Default:"all"
Determines which trace information appear when hovering nodes. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hoverlabel
Code:fig.update_traces(node_hoverlabel=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(node_hoverlabel_align=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(node_hoverlabel_bgcolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(node_hoverlabel_bordercolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(node_hoverlabel_font=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(node_hoverlabel_font_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colors - family
Code:fig.update_traces(node_hoverlabel_font_family=<VALUE>, selector=dict(type='sankey'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(node_hoverlabel_font_lineposition=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(node_hoverlabel_font_shadow=<VALUE>, selector=dict(type='sankey'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(node_hoverlabel_font_size=<VALUE>, selector=dict(type='sankey'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(node_hoverlabel_font_style=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(node_hoverlabel_font_textcase=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(node_hoverlabel_font_variant=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(node_hoverlabel_font_weight=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(node_hoverlabel_namelength=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hovertemplate
Code:fig.update_traces(node_hovertemplate=<VALUE>, selector=dict(type='sankey'))
Type: string or array of strings
Default:""
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 `sourceLinks` and `targetLinks` are arrays of link 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>`.
- label
Code:fig.update_traces(node_label=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:The shown name of the node.
- line
Code:fig.update_traces(node_line=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(node_line_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colors
Default:"#444"
Sets the color of the `line` around each `node`.
- width
Code:fig.update_traces(node_line_width=<VALUE>, selector=dict(type='sankey'))
Type: number or array of numbers greater than or equal to 0
Default:0.5
Sets the width (in px) of the `line` around each `node`.
- color
- pad
Code:fig.update_traces(node_pad=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 0
Default:20
Sets the padding (in px) between the `nodes`.
- thickness
Code:fig.update_traces(node_thickness=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 1
Default:20
Sets the thickness (in px) of the `nodes`.
- x
Code:fig.update_traces(node_x=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:The normalized horizontal position of the node.
- y
Code:fig.update_traces(node_y=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:The normalized vertical position of the node.
- align
- link
Code:fig.update_traces(link=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.The links of the Sankey plot.
- arrowlen
Code:fig.update_traces(link_arrowlen=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 0
Default:0
Sets the length (in px) of the links arrow, if 0 no arrow will be drawn.
- color
Code:fig.update_traces(link_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets 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.
- colorscales
Code:fig.update_traces(link_colorscales=list(...), selector=dict(type='sankey'))
Type: list of dict where each dict has one or more of the keys listed below.- cmax
Parent:data[type=sankey].link.colorscales[]
Type: number
Default:1
Sets the upper bound of the color domain.
- cmin
Parent:data[type=sankey].link.colorscales[]
Type: number
Default:0
Sets the lower bound of the color domain.
- colorscale
Parent:data[type=sankey].link.colorscales[]
Type: colorscale
Default:[[0, white], [1, black], ]
Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- label
Parent:data[type=sankey].link.colorscales[]
Type: string
Default:""
The label of the links to color based on their concentration within a flow.
- name
Parent:data[type=sankey].link.colorscales[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=sankey].link.colorscales[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- cmax
- customdata
Code:fig.update_traces(link_customdata=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Assigns extra data to each link.
- hovercolor
Code:fig.update_traces(link_hovercolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets 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.
- hoverinfo
Code:fig.update_traces(link_hoverinfo=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("all"
|"none"
|"skip"
)
Default:"all"
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.
- hoverlabel
Code:fig.update_traces(link_hoverlabel=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(link_hoverlabel_align=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(link_hoverlabel_bgcolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(link_hoverlabel_bordercolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(link_hoverlabel_font=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(link_hoverlabel_font_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colors - family
Code:fig.update_traces(link_hoverlabel_font_family=<VALUE>, selector=dict(type='sankey'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(link_hoverlabel_font_lineposition=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(link_hoverlabel_font_shadow=<VALUE>, selector=dict(type='sankey'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(link_hoverlabel_font_size=<VALUE>, selector=dict(type='sankey'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(link_hoverlabel_font_style=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(link_hoverlabel_font_textcase=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(link_hoverlabel_font_variant=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(link_hoverlabel_font_weight=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(link_hoverlabel_namelength=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hovertemplate
Code:fig.update_traces(link_hovertemplate=<VALUE>, selector=dict(type='sankey'))
Type: string or array of strings
Default:""
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>`.
- label
Code:fig.update_traces(link_label=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:The shown name of the link.
- line
Code:fig.update_traces(link_line=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(link_line_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colors
Default:"#444"
Sets the color of the `line` around each `link`.
- width
Code:fig.update_traces(link_line_width=<VALUE>, selector=dict(type='sankey'))
Type: number or array of numbers greater than or equal to 0
Default:0
Sets the width (in px) of the `line` around each `link`.
- color
- source
Code:fig.update_traces(link_source=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:An integer number `[0..nodes.length - 1]` that represents the source node.
- target
Code:fig.update_traces(link_target=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:An integer number `[0..nodes.length - 1]` that represents the target node.
- value
Code:fig.update_traces(link_value=<VALUE>, selector=dict(type='sankey'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:A numeric value representing the flow volume value.
- arrowlen
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.Sets the font for node labels
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='sankey'))
Type: color - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='sankey'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='sankey'))
Type: string
Default:"auto"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='sankey'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='sankey'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='sankey'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- arrangement
Code:fig.update_traces(arrangement=<VALUE>, selector=dict(type='sankey'))
Type: enumerated , one of ("snap"
|"perpendicular"
|"freeform"
|"fixed"
)
Default:"snap"
If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='sankey'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='sankey'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='sankey'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='sankey'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='sankey'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='sankey'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='sankey'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='sankey'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- valueformat
Code:fig.update_traces(valueformat=<VALUE>, selector=dict(type='sankey'))
Type: string
Default:".3s"
Sets the value formatting rule using 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.
- valuesuffix
Code:fig.update_traces(valuesuffix=<VALUE>, selector=dict(type='sankey'))
Type: string
Default:""
Adds a unit to follow the value in the hover tooltip. Add a space if a separation is necessary from the value.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='sankey'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
splom traces
plotly.graph_objects.Splom
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Splom traces generate scatter plot matrix visualizations. Each splom `dimensions` items correspond to a generated axis. Values for each of those dimensions are set in `dimensions[i].values`. Splom traces support all `scattergl` marker style attributes. Specify `layout.grid` attributes and/or layout x-axis and y-axis attributes for more control over the axis positioning and style.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='splom'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='splom'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='splom'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='splom'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='splom'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='splom'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='splom'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='splom'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='splom'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='splom'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='splom'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair to appear on hover. 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) coordinates.
- dimensions
Code:fig.update_traces(dimensions=list(...), selector=dict(type='splom'))
Type: list of dict where each dict has one or more of the keys listed below.- axis
Parent:data[type=splom].dimensions[]
Type: dict containing one or more of the keys listed below.- matches
Parent:data[type=splom].dimensions[].axis
Type: booleanDetermines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id.
- type
Parent:data[type=splom].dimensions[].axis
Type: enumerated , one of ("linear"
|"log"
|"date"
|"category"
)Sets the axis type for this dimension's generated x and y axes. Note that the axis `type` values set in layout take precedence over this attribute.
- matches
- label
Parent:data[type=splom].dimensions[]
Type: stringSets the label corresponding to this splom dimension.
- name
Parent:data[type=splom].dimensions[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=splom].dimensions[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- values
Parent:data[type=splom].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the dimension values to be plotted.
- visible
Parent:data[type=splom].dimensions[]
Type: boolean
Default:True
Determines whether or not this dimension is shown on the graph. Note that even visible False dimension contribute to the default grid generate by this splom trace.
- axis
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='splom'))
Type: string or array of strings
Default:""
Same as `text`.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='splom'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='splom'))
Type: string or array of strings
Default:""
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. 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>`.
- xhoverformat
Code:fig.update_traces(xhoverformat=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets the hover text formatting rulefor `x` using 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 using `xaxis.hoverformat`.
- yhoverformat
Code:fig.update_traces(yhoverformat=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets the hover text formatting rulefor `y` using 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 using `yaxis.hoverformat`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='splom'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='splom'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='splom'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='splom'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='splom'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='splom'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='splom'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='splom'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='splom'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='splom'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='splom'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='splom'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='splom'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='splom'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='splom'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='splom'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='splom'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='splom'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='splom'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='splom'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=splom].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=splom].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=splom].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=splom].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=splom].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='splom'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='splom'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='splom'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='splom'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='splom'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='splom'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='splom'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='splom'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='splom'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='splom'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='splom'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='splom'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='splom'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='splom'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='splom'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='splom'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='splom'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='splom'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='splom'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='splom'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='splom'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='splom'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='splom'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='splom'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='splom'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='splom'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='splom'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='splom'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- diagonal
Code:fig.update_traces(diagonal=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- visible
Code:fig.update_traces(diagonal_visible=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not subplots on the diagonal are displayed.
- visible
- xaxes
Code:fig.update_traces(xaxes=list(...), selector=dict(type='splom'))
Type: listSets the list of x axes corresponding to dimensions of this splom trace. By default, a splom will match the first N xaxes where N is the number of input dimensions. Note that, in case where `diagonal.visible` is False and `showupperhalf` or `showlowerhalf` is False, this splom trace will generate one less x-axis and one less y-axis.
- yaxes
Code:fig.update_traces(yaxes=list(...), selector=dict(type='splom'))
Type: listSets the list of y axes corresponding to dimensions of this splom trace. By default, a splom will match the first N yaxes where N is the number of input dimensions. Note that, in case where `diagonal.visible` is False and `showupperhalf` or `showlowerhalf` is False, this splom trace will generate one less x-axis and one less y-axis.
- showlowerhalf
Code:fig.update_traces(showlowerhalf=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not subplots on the lower half from the diagonal are displayed.
- showupperhalf
Code:fig.update_traces(showupperhalf=<VALUE>, selector=dict(type='splom'))
Type: boolean
Default:True
Determines whether or not subplots on the upper half from the diagonal are displayed.
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='splom'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='splom'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='splom'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='splom'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='splom'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- marker
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='splom'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='splom'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='splom'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='splom'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='splom'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='splom'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='splom'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='splom'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='splom'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='splom'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='splom'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='splom'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='splom'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='splom'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='splom'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
parcoords traces
plotly.graph_objects.Parcoords
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Parallel coordinates for multidimensional exploratory data analysis. The samples are specified in `dimensions`. The colors are set in `line.color`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='parcoords'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='parcoords'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='parcoords'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='parcoords'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- dimensions
Code:fig.update_traces(dimensions=list(...), selector=dict(type='parcoords'))
Type: list of dict where each dict has one or more of the keys listed below.- constraintrange
Parent:data[type=parcoords].dimensions[]
Type: listThe domain range to which the filter on the dimension is constrained. Must be an array of `[fromValue, toValue]` with `fromValue <= toValue`, or if `multiselect` is not disabled, you may give an array of arrays, where each inner array is `[fromValue, toValue]`.
- label
Parent:data[type=parcoords].dimensions[]
Type: stringThe shown name of the dimension.
- multiselect
Parent:data[type=parcoords].dimensions[]
Type: boolean
Default:True
Do we allow multiple selection ranges or just a single range?
- name
Parent:data[type=parcoords].dimensions[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- range
Parent:data[type=parcoords].dimensions[]
Type: listThe domain range that represents the full, shown axis extent. Defaults to the `values` extent. Must be an array of `[fromValue, toValue]` with finite numbers as elements.
- templateitemname
Parent:data[type=parcoords].dimensions[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- tickformat
Parent:data[type=parcoords].dimensions[]
Type: string
Default:""
Sets the tick label formatting rule using 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"
- ticktext
Parent:data[type=parcoords].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`.
- tickvals
Parent:data[type=parcoords].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear.
- values
Parent:data[type=parcoords].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Dimension values. `values[n]` represents the value of the `n`th point in the dataset, therefore the `values` vector for all dimensions must be the same (longer vectors will be truncated). Each value must be a finite number.
- visible
Parent:data[type=parcoords].dimensions[]
Type: boolean
Default:True
Shows the dimension when set to `True` (the default). Hides the dimension for `False`.
- constraintrange
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='parcoords'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='parcoords'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='parcoords'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this parcoords trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='parcoords'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this parcoords trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='parcoords'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this parcoords trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='parcoords'))
Type: list
Default:[0, 1]
Sets the vertical domain of this parcoords trace (in plot fraction).
- column
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(line_autocolorscale=<VALUE>, selector=dict(type='parcoords'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(line_cauto=<VALUE>, selector=dict(type='parcoords'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color` is set to a numerical array. Defaults to `False` when `line.cmin` and `line.cmax` are set by the user.
- cmax
Code:fig.update_traces(line_cmax=<VALUE>, selector=dict(type='parcoords'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.
- cmid
Code:fig.update_traces(line_cmid=<VALUE>, selector=dict(type='parcoords'))
Type: numberSets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `False`.
- cmin
Code:fig.update_traces(line_cmin=<VALUE>, selector=dict(type='parcoords'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='parcoords'))
Type: color or array of colorsSets 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.cmin` and `line.cmax` if set.
- coloraxis
Code:fig.update_traces(line_coloraxis=<VALUE>, selector=dict(type='parcoords'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(line_colorbar=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(line_colorbar_bgcolor=<VALUE>, selector=dict(type='parcoords'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(line_colorbar_bordercolor=<VALUE>, selector=dict(type='parcoords'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(line_colorbar_borderwidth=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(line_colorbar_dtick=<VALUE>, selector=dict(type='parcoords'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(line_colorbar_exponentformat=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(line_colorbar_labelalias=<VALUE>, selector=dict(type='parcoords'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(line_colorbar_len=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(line_colorbar_lenmode=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(line_colorbar_minexponent=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(line_colorbar_nticks=<VALUE>, selector=dict(type='parcoords'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(line_colorbar_orientation=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(line_colorbar_outlinecolor=<VALUE>, selector=dict(type='parcoords'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(line_colorbar_outlinewidth=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(line_colorbar_separatethousands=<VALUE>, selector=dict(type='parcoords'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(line_colorbar_showexponent=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(line_colorbar_showticklabels=<VALUE>, selector=dict(type='parcoords'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(line_colorbar_showtickprefix=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(line_colorbar_showticksuffix=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(line_colorbar_thickness=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(line_colorbar_thicknessmode=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(line_colorbar_tick0=<VALUE>, selector=dict(type='parcoords'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(line_colorbar_tickangle=<VALUE>, selector=dict(type='parcoords'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(line_colorbar_tickcolor=<VALUE>, selector=dict(type='parcoords'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(line_colorbar_tickfont=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(line_colorbar_tickfont_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(line_colorbar_tickfont_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_tickfont_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_tickfont_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_tickfont_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_tickfont_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(line_colorbar_tickformat=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(line_colorbar_tickformatstops=list(...), selector=dict(type='parcoords'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=parcoords].line.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=parcoords].line.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=parcoords].line.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=parcoords].line.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=parcoords].line.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(line_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(line_colorbar_ticklabelposition=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(line_colorbar_ticklabelstep=<VALUE>, selector=dict(type='parcoords'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(line_colorbar_ticklen=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(line_colorbar_tickmode=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(line_colorbar_tickprefix=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(line_colorbar_ticks=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(line_colorbar_ticksuffix=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(line_colorbar_ticktext=<VALUE>, selector=dict(type='parcoords'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(line_colorbar_tickvals=<VALUE>, selector=dict(type='parcoords'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(line_colorbar_tickwidth=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(line_colorbar_title=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(line_colorbar_title_font=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(line_colorbar_title_font_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(line_colorbar_title_font_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_title_font_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_title_font_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_title_font_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_title_font_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_title_font_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_title_font_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(line_colorbar_title_side=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(line_colorbar_title_text=<VALUE>, selector=dict(type='parcoords'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(line_colorbar_x=<VALUE>, selector=dict(type='parcoords'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(line_colorbar_xanchor=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(line_colorbar_xpad=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(line_colorbar_xref=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(line_colorbar_y=<VALUE>, selector=dict(type='parcoords'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(line_colorbar_yanchor=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(line_colorbar_ypad=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(line_colorbar_yref=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(line_colorscale=<VALUE>, selector=dict(type='parcoords'))
Type: colorscale
Default:[[0, #440154], [0.06274509803921569, #48186a], [0.12549019607843137, #472d7b], [0.18823529411764706, #424086], [0.25098039215686274, #3b528b], [0.3137254901960784, #33638d], [0.3764705882352941, #2c728e], [0.4392156862745098, #26828e], [0.5019607843137255, #21918c], [0.5647058823529412, #1fa088], [0.6274509803921569, #28ae80], [0.6901960784313725, #3fbc73], [0.7529411764705882, #5ec962], [0.8156862745098039, #84d44b], [0.8784313725490196, #addc30], [0.9411764705882353, #d8e219], [1, #fde725], ]
Sets the colorscale. Has an effect only if in `line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `line.cmin` and `line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(line_reversescale=<VALUE>, selector=dict(type='parcoords'))
Type: booleanReverses the color mapping if True. Has an effect only if in `line.color` is set to a numerical array. If True, `line.cmin` will correspond to the last color in the array and `line.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(line_showscale=<VALUE>, selector=dict(type='parcoords'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `line.color` is set to a numerical array.
- autocolorscale
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_traces(unselected_line=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_line_color=<VALUE>, selector=dict(type='parcoords'))
Type: color
Default:"#7f7f7f"
Sets the base color of unselected lines. in connection with `unselected.line.opacity`.
- opacity
Code:fig.update_traces(unselected_line_opacity=<VALUE>, selector=dict(type='parcoords'))
Type: number between or equal to 0 and 1
Default:"auto"
Sets the opacity of unselected lines. The default "auto" decreases the opacity smoothly as the number of lines increases. Use "1" to achieve exact `unselected.line.color`.
- color
- line
- labelangle
Code:fig.update_traces(labelangle=<VALUE>, selector=dict(type='parcoords'))
Type: angle
Default:0
Sets the angle of the labels with respect to the horizontal. For example, a `tickangle` of -90 draws the labels vertically. Tilted labels with "labelangle" may be positioned better inside margins when `labelposition` is set to "bottom".
- labelfont
Code:fig.update_traces(labelfont=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets the font for the `dimension` labels.
- color
Code:fig.update_traces(labelfont_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(labelfont_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(labelfont_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(labelfont_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(labelfont_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(labelfont_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(labelfont_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(labelfont_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(labelfont_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- labelside
Code:fig.update_traces(labelside=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("top"
|"bottom"
)
Default:"top"
Specifies the location of the `label`. "top" positions labels above, next to the title "bottom" positions labels below the graph Tilted labels with "labelangle" may be positioned better inside margins when `labelposition` is set to "bottom".
- rangefont
Code:fig.update_traces(rangefont=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets the font for the `dimension` range values.
- color
Code:fig.update_traces(rangefont_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(rangefont_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(rangefont_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(rangefont_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(rangefont_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(rangefont_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(rangefont_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(rangefont_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(rangefont_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickfont
Code:fig.update_traces(tickfont=dict(...), selector=dict(type='parcoords'))
Type: dict containing one or more of the keys listed below.Sets the font for the `dimension` tick values.
- color
Code:fig.update_traces(tickfont_color=<VALUE>, selector=dict(type='parcoords'))
Type: color - family
Code:fig.update_traces(tickfont_family=<VALUE>, selector=dict(type='parcoords'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(tickfont_lineposition=<VALUE>, selector=dict(type='parcoords'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(tickfont_shadow=<VALUE>, selector=dict(type='parcoords'))
Type: string
Default:"auto"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(tickfont_size=<VALUE>, selector=dict(type='parcoords'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(tickfont_style=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(tickfont_textcase=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(tickfont_variant=<VALUE>, selector=dict(type='parcoords'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(tickfont_weight=<VALUE>, selector=dict(type='parcoords'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='parcoords'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
parcats traces
plotly.graph_objects.Parcats
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Parallel categories diagram for multidimensional categorical data.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='parcats'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='parcats'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='parcats'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='parcats'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- counts
Code:fig.update_traces(counts=<VALUE>, selector=dict(type='parcats'))
Type: number or array of numbers greater than or equal to 0
Default:1
The number of observations represented by each state. Defaults to 1 so that each state represents one observation
- dimensions
Code:fig.update_traces(dimensions=list(...), selector=dict(type='parcats'))
Type: list of dict where each dict has one or more of the keys listed below.- categoryarray
Parent:data[type=parcats].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories in this dimension appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Parent:data[type=parcats].dimensions[]
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
)
Default:"trace"
Specifies the ordering logic for the categories in the dimension. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`.
- displayindex
Parent:data[type=parcats].dimensions[]
Type: integerThe display index of dimension, from left to right, zero indexed, defaults to dimension index.
- label
Parent:data[type=parcats].dimensions[]
Type: stringThe shown name of the dimension.
- ticktext
Parent:data[type=parcats].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets alternative tick labels for the categories in this dimension. Only has an effect if `categoryorder` is set to "array". Should be an array the same length as `categoryarray` Used with `categoryorder`.
- values
Parent:data[type=parcats].dimensions[]
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:Dimension values. `values[n]` represents the category value of the `n`th point in the dataset, therefore the `values` vector for all dimensions must be the same (longer vectors will be truncated).
- visible
Parent:data[type=parcats].dimensions[]
Type: boolean
Default:True
Shows the dimension when set to `True` (the default). Hides the dimension for `False`.
- categoryarray
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"count"
,"probability"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"count"
,"probability"
,"count+probability"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
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. This value here applies when hovering over dimensions. Note that `"categorycount`, "colorcount" and "bandcolorcount" are only available when `hoveron` contains the "color" flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='parcats'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- domain
Code:fig.update_traces(domain=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_traces(domain_column=<VALUE>, selector=dict(type='parcats'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this parcats trace .
- row
Code:fig.update_traces(domain_row=<VALUE>, selector=dict(type='parcats'))
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this parcats trace .
- x
Code:fig.update_traces(domain_x=list(...), selector=dict(type='parcats'))
Type: list
Default:[0, 1]
Sets the horizontal domain of this parcats trace (in plot fraction).
- y
Code:fig.update_traces(domain_y=list(...), selector=dict(type='parcats'))
Type: list
Default:[0, 1]
Sets the vertical domain of this parcats trace (in plot fraction).
- column
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(line_autocolorscale=<VALUE>, selector=dict(type='parcats'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(line_cauto=<VALUE>, selector=dict(type='parcats'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color` is set to a numerical array. Defaults to `False` when `line.cmin` and `line.cmax` are set by the user.
- cmax
Code:fig.update_traces(line_cmax=<VALUE>, selector=dict(type='parcats'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.
- cmid
Code:fig.update_traces(line_cmid=<VALUE>, selector=dict(type='parcats'))
Type: numberSets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `False`.
- cmin
Code:fig.update_traces(line_cmin=<VALUE>, selector=dict(type='parcats'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='parcats'))
Type: color or array of colorsSets 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.cmin` and `line.cmax` if set.
- coloraxis
Code:fig.update_traces(line_coloraxis=<VALUE>, selector=dict(type='parcats'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(line_colorbar=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(line_colorbar_bgcolor=<VALUE>, selector=dict(type='parcats'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(line_colorbar_bordercolor=<VALUE>, selector=dict(type='parcats'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(line_colorbar_borderwidth=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(line_colorbar_dtick=<VALUE>, selector=dict(type='parcats'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(line_colorbar_exponentformat=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(line_colorbar_labelalias=<VALUE>, selector=dict(type='parcats'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(line_colorbar_len=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(line_colorbar_lenmode=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(line_colorbar_minexponent=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(line_colorbar_nticks=<VALUE>, selector=dict(type='parcats'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(line_colorbar_orientation=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(line_colorbar_outlinecolor=<VALUE>, selector=dict(type='parcats'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(line_colorbar_outlinewidth=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(line_colorbar_separatethousands=<VALUE>, selector=dict(type='parcats'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(line_colorbar_showexponent=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(line_colorbar_showticklabels=<VALUE>, selector=dict(type='parcats'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(line_colorbar_showtickprefix=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(line_colorbar_showticksuffix=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(line_colorbar_thickness=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(line_colorbar_thicknessmode=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(line_colorbar_tick0=<VALUE>, selector=dict(type='parcats'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(line_colorbar_tickangle=<VALUE>, selector=dict(type='parcats'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(line_colorbar_tickcolor=<VALUE>, selector=dict(type='parcats'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(line_colorbar_tickfont=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(line_colorbar_tickfont_color=<VALUE>, selector=dict(type='parcats'))
Type: color - family
Code:fig.update_traces(line_colorbar_tickfont_family=<VALUE>, selector=dict(type='parcats'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_tickfont_size=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_tickfont_style=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_tickfont_variant=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_tickfont_weight=<VALUE>, selector=dict(type='parcats'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(line_colorbar_tickformat=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(line_colorbar_tickformatstops=list(...), selector=dict(type='parcats'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=parcats].line.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=parcats].line.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=parcats].line.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=parcats].line.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=parcats].line.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(line_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(line_colorbar_ticklabelposition=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(line_colorbar_ticklabelstep=<VALUE>, selector=dict(type='parcats'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(line_colorbar_ticklen=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(line_colorbar_tickmode=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(line_colorbar_tickprefix=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(line_colorbar_ticks=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(line_colorbar_ticksuffix=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(line_colorbar_ticktext=<VALUE>, selector=dict(type='parcats'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(line_colorbar_tickvals=<VALUE>, selector=dict(type='parcats'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(line_colorbar_tickwidth=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(line_colorbar_title=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(line_colorbar_title_font=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(line_colorbar_title_font_color=<VALUE>, selector=dict(type='parcats'))
Type: color - family
Code:fig.update_traces(line_colorbar_title_font_family=<VALUE>, selector=dict(type='parcats'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(line_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(line_colorbar_title_font_shadow=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(line_colorbar_title_font_size=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(line_colorbar_title_font_style=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(line_colorbar_title_font_textcase=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(line_colorbar_title_font_variant=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(line_colorbar_title_font_weight=<VALUE>, selector=dict(type='parcats'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(line_colorbar_title_side=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(line_colorbar_title_text=<VALUE>, selector=dict(type='parcats'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(line_colorbar_x=<VALUE>, selector=dict(type='parcats'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(line_colorbar_xanchor=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(line_colorbar_xpad=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(line_colorbar_xref=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(line_colorbar_y=<VALUE>, selector=dict(type='parcats'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(line_colorbar_yanchor=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(line_colorbar_ypad=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(line_colorbar_yref=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(line_colorscale=<VALUE>, selector=dict(type='parcats'))
Type: colorscaleSets the colorscale. Has an effect only if in `line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `line.cmin` and `line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- hovertemplate
Code:fig.update_traces(line_hovertemplate=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:""
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. This value here applies when hovering over lines.Finally, the template string has access to variables `count` and `probability`. 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>`.
- reversescale
Code:fig.update_traces(line_reversescale=<VALUE>, selector=dict(type='parcats'))
Type: booleanReverses the color mapping if True. Has an effect only if in `line.color` is set to a numerical array. If True, `line.cmin` will correspond to the last color in the array and `line.cmax` will correspond to the first color.
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("linear"
|"hspline"
)
Default:"linear"
Sets the shape of the paths. If `linear`, paths are composed of straight lines. If `hspline`, paths are composed of horizontal curved splines
- showscale
Code:fig.update_traces(line_showscale=<VALUE>, selector=dict(type='parcats'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `line.color` is set to a numerical array.
- autocolorscale
- arrangement
Code:fig.update_traces(arrangement=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("perpendicular"
|"freeform"
|"fixed"
)
Default:"perpendicular"
Sets the drag interaction mode for categories and dimensions. If `perpendicular`, the categories can only move along a line perpendicular to the paths. If `freeform`, the categories can freely move on the plane. If `fixed`, the categories and dimensions are stationary.
- bundlecolors
Code:fig.update_traces(bundlecolors=<VALUE>, selector=dict(type='parcats'))
Type: boolean
Default:True
Sort paths so that like colors are bundled together within each category.
- sortpaths
Code:fig.update_traces(sortpaths=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("forward"
|"backward"
)
Default:"forward"
Sets the path sorting algorithm. If `forward`, sort paths based on dimension categories from left to right. If `backward`, sort paths based on dimensions categories from right to left.
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("category"
|"color"
|"dimension"
)
Default:"category"
Sets the hover interaction mode for the parcats diagram. If `category`, hover interaction take place per category. If `color`, hover interactions take place per color per category. If `dimension`, hover interactions take place across all categories per dimension.
- labelfont
Code:fig.update_traces(labelfont=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.Sets the font for the `dimension` labels.
- color
Code:fig.update_traces(labelfont_color=<VALUE>, selector=dict(type='parcats'))
Type: color - family
Code:fig.update_traces(labelfont_family=<VALUE>, selector=dict(type='parcats'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(labelfont_lineposition=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(labelfont_shadow=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(labelfont_size=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(labelfont_style=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(labelfont_textcase=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(labelfont_variant=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(labelfont_weight=<VALUE>, selector=dict(type='parcats'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickfont
Code:fig.update_traces(tickfont=dict(...), selector=dict(type='parcats'))
Type: dict containing one or more of the keys listed below.Sets the font for the `category` labels.
- color
Code:fig.update_traces(tickfont_color=<VALUE>, selector=dict(type='parcats'))
Type: color - family
Code:fig.update_traces(tickfont_family=<VALUE>, selector=dict(type='parcats'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(tickfont_lineposition=<VALUE>, selector=dict(type='parcats'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(tickfont_shadow=<VALUE>, selector=dict(type='parcats'))
Type: string
Default:"auto"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(tickfont_size=<VALUE>, selector=dict(type='parcats'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(tickfont_style=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(tickfont_textcase=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(tickfont_variant=<VALUE>, selector=dict(type='parcats'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(tickfont_weight=<VALUE>, selector=dict(type='parcats'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='parcats'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
carpet traces
plotly.graph_objects.Carpet
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. The data describing carpet axis layout is set in `y` and (optionally) also `x`. If only `y` is present, `x` the plot is interpreted as a cheater plot and is filled in using the `y` values. `x` and `y` may either be 2D arrays matching with each dimension matching that of `a` and `b`, or they may be 1D arrays with total length equal to that of `a` and `b`.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='carpet'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='carpet'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='carpet'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='carpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='carpet'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='carpet'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A two dimensional array of x coordinates at each carpet point. If omitted, the plot is a cheater plot and the xaxis is hidden by default.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A two dimensional array of y coordinates at each carpet point.
- a
Code:fig.update_traces(a=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.An array containing values of the first parameter value
- a0
Code:fig.update_traces(a0=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:0
Alternate to `a`. Builds a linear space of a coordinates. Use with `da` where `a0` is the starting coordinate and `da` the step.
- da
Code:fig.update_traces(da=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the a coordinate step. See `a0` for more info.
- b
Code:fig.update_traces(b=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A two dimensional array of y coordinates at each carpet point.
- b0
Code:fig.update_traces(b0=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:0
Alternate to `b`. Builds a linear space of a coordinates. Use with `db` where `b0` is the starting coordinate and `db` the step.
- db
Code:fig.update_traces(db=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the b coordinate step. See `b0` for more info.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='carpet'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- aaxis
Code:fig.update_traces(aaxis=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.- arraydtick
Code:fig.update_traces(aaxis_arraydtick=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 1
Default:1
The stride between grid lines along the axis
- arraytick0
Code:fig.update_traces(aaxis_arraytick0=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
The starting index of grid lines along the axis
- autorange
Code:fig.update_traces(aaxis_autorange=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of (True
|False
|"reversed"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to "False".
- autotypenumbers
Code:fig.update_traces(aaxis_autotypenumbers=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- categoryarray
Code:fig.update_traces(aaxis_categoryarray=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_traces(aaxis_categoryorder=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`.
- cheatertype
Code:fig.update_traces(aaxis_cheatertype=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("index"
|"value"
)
Default:"value"
- color
Code:fig.update_traces(aaxis_color=<VALUE>, selector=dict(type='carpet'))
Type: colorSets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_traces(aaxis_dtick=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
The stride between grid lines along the axis
- endline
Code:fig.update_traces(aaxis_endline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line is drawn at along the final value of this axis. If "True", the end line is drawn on top of the grid lines.
- endlinecolor
Code:fig.update_traces(aaxis_endlinecolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the line color of the end line.
- endlinewidth
Code:fig.update_traces(aaxis_endlinewidth=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the width (in px) of the end line.
- exponentformat
Code:fig.update_traces(aaxis_exponentformat=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- fixedrange
Code:fig.update_traces(aaxis_fixedrange=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not this axis is zoom-able. If True, then zoom is disabled.
- gridcolor
Code:fig.update_traces(aaxis_gridcolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the axis line color.
- griddash
Code:fig.update_traces(aaxis_griddash=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_traces(aaxis_gridwidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- labelalias
Code:fig.update_traces(aaxis_labelalias=<VALUE>, selector=dict(type='carpet'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- labelpadding
Code:fig.update_traces(aaxis_labelpadding=<VALUE>, selector=dict(type='carpet'))
Type: integer
Default:10
Extra padding between label and the axis
- labelprefix
Code:fig.update_traces(aaxis_labelprefix=<VALUE>, selector=dict(type='carpet'))
Type: stringSets a axis label prefix.
- labelsuffix
Code:fig.update_traces(aaxis_labelsuffix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a axis label suffix.
- linecolor
Code:fig.update_traces(aaxis_linecolor=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_traces(aaxis_linewidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- minexponent
Code:fig.update_traces(aaxis_minexponent=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number
- minorgridcolor
Code:fig.update_traces(aaxis_minorgridcolor=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#eee"
Sets the color of the grid lines.
- minorgridcount
Code:fig.update_traces(aaxis_minorgridcount=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
Sets the number of minor grid ticks per major grid tick
- minorgriddash
Code:fig.update_traces(aaxis_minorgriddash=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- minorgridwidth
Code:fig.update_traces(aaxis_minorgridwidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- nticks
Code:fig.update_traces(aaxis_nticks=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_traces(aaxis_range=list(...), selector=dict(type='carpet'))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
- rangemode
Code:fig.update_traces(aaxis_rangemode=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data.
- separatethousands
Code:fig.update_traces(aaxis_separatethousands=<VALUE>, selector=dict(type='carpet'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(aaxis_showexponent=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_traces(aaxis_showgrid=<VALUE>, selector=dict(type='carpet'))
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_traces(aaxis_showline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_traces(aaxis_showticklabels=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("start"
|"end"
|"both"
|"none"
)
Default:"start"
Determines whether axis labels are drawn on the low side, the high side, both, or neither side of the axis.
- showtickprefix
Code:fig.update_traces(aaxis_showtickprefix=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(aaxis_showticksuffix=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- smoothing
Code:fig.update_traces(aaxis_smoothing=<VALUE>, selector=dict(type='carpet'))
Type: number between or equal to 0 and 1.3
Default:1
- startline
Code:fig.update_traces(aaxis_startline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line is drawn at along the starting value of this axis. If "True", the start line is drawn on top of the grid lines.
- startlinecolor
Code:fig.update_traces(aaxis_startlinecolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the line color of the start line.
- startlinewidth
Code:fig.update_traces(aaxis_startlinewidth=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the width (in px) of the start line.
- tick0
Code:fig.update_traces(aaxis_tick0=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:0
The starting index of grid lines along the axis
- tickangle
Code:fig.update_traces(aaxis_tickangle=<VALUE>, selector=dict(type='carpet'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickfont
Code:fig.update_traces(aaxis_tickfont=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_traces(aaxis_tickfont_color=<VALUE>, selector=dict(type='carpet'))
Type: color - family
Code:fig.update_traces(aaxis_tickfont_family=<VALUE>, selector=dict(type='carpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(aaxis_tickfont_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(aaxis_tickfont_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(aaxis_tickfont_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(aaxis_tickfont_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(aaxis_tickfont_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(aaxis_tickfont_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(aaxis_tickfont_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(aaxis_tickformat=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(aaxis_tickformatstops=list(...), selector=dict(type='carpet'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=carpet].aaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=carpet].aaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=carpet].aaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=carpet].aaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=carpet].aaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- tickmode
Code:fig.update_traces(aaxis_tickmode=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("linear"
|"array"
)
Default:"array"
- tickprefix
Code:fig.update_traces(aaxis_tickprefix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a tick label prefix.
- ticksuffix
Code:fig.update_traces(aaxis_ticksuffix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(aaxis_ticktext=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(aaxis_tickvals=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- title
Code:fig.update_traces(aaxis_title=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(aaxis_title_font=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(aaxis_title_font_color=<VALUE>, selector=dict(type='carpet'))
Type: color - family
Code:fig.update_traces(aaxis_title_font_family=<VALUE>, selector=dict(type='carpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(aaxis_title_font_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(aaxis_title_font_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(aaxis_title_font_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(aaxis_title_font_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(aaxis_title_font_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(aaxis_title_font_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(aaxis_title_font_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- offset
Code:fig.update_traces(aaxis_title_offset=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:10
An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute.
- text
Code:fig.update_traces(aaxis_title_text=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_traces(aaxis_type=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("-"
|"linear"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- arraydtick
- baxis
Code:fig.update_traces(baxis=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.- arraydtick
Code:fig.update_traces(baxis_arraydtick=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 1
Default:1
The stride between grid lines along the axis
- arraytick0
Code:fig.update_traces(baxis_arraytick0=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
The starting index of grid lines along the axis
- autorange
Code:fig.update_traces(baxis_autorange=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of (True
|False
|"reversed"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to "False".
- autotypenumbers
Code:fig.update_traces(baxis_autotypenumbers=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- categoryarray
Code:fig.update_traces(baxis_categoryarray=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_traces(baxis_categoryorder=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`.
- cheatertype
Code:fig.update_traces(baxis_cheatertype=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("index"
|"value"
)
Default:"value"
- color
Code:fig.update_traces(baxis_color=<VALUE>, selector=dict(type='carpet'))
Type: colorSets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_traces(baxis_dtick=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
The stride between grid lines along the axis
- endline
Code:fig.update_traces(baxis_endline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line is drawn at along the final value of this axis. If "True", the end line is drawn on top of the grid lines.
- endlinecolor
Code:fig.update_traces(baxis_endlinecolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the line color of the end line.
- endlinewidth
Code:fig.update_traces(baxis_endlinewidth=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the width (in px) of the end line.
- exponentformat
Code:fig.update_traces(baxis_exponentformat=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- fixedrange
Code:fig.update_traces(baxis_fixedrange=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not this axis is zoom-able. If True, then zoom is disabled.
- gridcolor
Code:fig.update_traces(baxis_gridcolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the axis line color.
- griddash
Code:fig.update_traces(baxis_griddash=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_traces(baxis_gridwidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- labelalias
Code:fig.update_traces(baxis_labelalias=<VALUE>, selector=dict(type='carpet'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- labelpadding
Code:fig.update_traces(baxis_labelpadding=<VALUE>, selector=dict(type='carpet'))
Type: integer
Default:10
Extra padding between label and the axis
- labelprefix
Code:fig.update_traces(baxis_labelprefix=<VALUE>, selector=dict(type='carpet'))
Type: stringSets a axis label prefix.
- labelsuffix
Code:fig.update_traces(baxis_labelsuffix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a axis label suffix.
- linecolor
Code:fig.update_traces(baxis_linecolor=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_traces(baxis_linewidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- minexponent
Code:fig.update_traces(baxis_minexponent=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number
- minorgridcolor
Code:fig.update_traces(baxis_minorgridcolor=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#eee"
Sets the color of the grid lines.
- minorgridcount
Code:fig.update_traces(baxis_minorgridcount=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
Sets the number of minor grid ticks per major grid tick
- minorgriddash
Code:fig.update_traces(baxis_minorgriddash=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- minorgridwidth
Code:fig.update_traces(baxis_minorgridwidth=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- nticks
Code:fig.update_traces(baxis_nticks=<VALUE>, selector=dict(type='carpet'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_traces(baxis_range=list(...), selector=dict(type='carpet'))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
- rangemode
Code:fig.update_traces(baxis_rangemode=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data.
- separatethousands
Code:fig.update_traces(baxis_separatethousands=<VALUE>, selector=dict(type='carpet'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(baxis_showexponent=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_traces(baxis_showgrid=<VALUE>, selector=dict(type='carpet'))
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_traces(baxis_showline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_traces(baxis_showticklabels=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("start"
|"end"
|"both"
|"none"
)
Default:"start"
Determines whether axis labels are drawn on the low side, the high side, both, or neither side of the axis.
- showtickprefix
Code:fig.update_traces(baxis_showtickprefix=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(baxis_showticksuffix=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- smoothing
Code:fig.update_traces(baxis_smoothing=<VALUE>, selector=dict(type='carpet'))
Type: number between or equal to 0 and 1.3
Default:1
- startline
Code:fig.update_traces(baxis_startline=<VALUE>, selector=dict(type='carpet'))
Type: booleanDetermines whether or not a line is drawn at along the starting value of this axis. If "True", the start line is drawn on top of the grid lines.
- startlinecolor
Code:fig.update_traces(baxis_startlinecolor=<VALUE>, selector=dict(type='carpet'))
Type: colorSets the line color of the start line.
- startlinewidth
Code:fig.update_traces(baxis_startlinewidth=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
Sets the width (in px) of the start line.
- tick0
Code:fig.update_traces(baxis_tick0=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 0
Default:0
The starting index of grid lines along the axis
- tickangle
Code:fig.update_traces(baxis_tickangle=<VALUE>, selector=dict(type='carpet'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickfont
Code:fig.update_traces(baxis_tickfont=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_traces(baxis_tickfont_color=<VALUE>, selector=dict(type='carpet'))
Type: color - family
Code:fig.update_traces(baxis_tickfont_family=<VALUE>, selector=dict(type='carpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(baxis_tickfont_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(baxis_tickfont_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(baxis_tickfont_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(baxis_tickfont_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(baxis_tickfont_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(baxis_tickfont_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(baxis_tickfont_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(baxis_tickformat=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(baxis_tickformatstops=list(...), selector=dict(type='carpet'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=carpet].baxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=carpet].baxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=carpet].baxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=carpet].baxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=carpet].baxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- tickmode
Code:fig.update_traces(baxis_tickmode=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("linear"
|"array"
)
Default:"array"
- tickprefix
Code:fig.update_traces(baxis_tickprefix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a tick label prefix.
- ticksuffix
Code:fig.update_traces(baxis_ticksuffix=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(baxis_ticktext=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(baxis_tickvals=<VALUE>, selector=dict(type='carpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- title
Code:fig.update_traces(baxis_title=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(baxis_title_font=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(baxis_title_font_color=<VALUE>, selector=dict(type='carpet'))
Type: color - family
Code:fig.update_traces(baxis_title_font_family=<VALUE>, selector=dict(type='carpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(baxis_title_font_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(baxis_title_font_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(baxis_title_font_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(baxis_title_font_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(baxis_title_font_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(baxis_title_font_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(baxis_title_font_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- offset
Code:fig.update_traces(baxis_title_offset=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:10
An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute.
- text
Code:fig.update_traces(baxis_title_text=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""
Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_traces(baxis_type=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("-"
|"linear"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- arraydtick
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='carpet'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='carpet'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- color
Code:fig.update_traces(color=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- carpet
Code:fig.update_traces(carpet=<VALUE>, selector=dict(type='carpet'))
Type: stringAn identifier for this carpet, so that `scattercarpet` and `contourcarpet` traces can specify a carpet plot on which they lie
- cheaterslope
Code:fig.update_traces(cheaterslope=<VALUE>, selector=dict(type='carpet'))
Type: number
Default:1
The shift applied to each successive row of data in creating a cheater plot. Only used if `x` is been omitted.
- font
Code:fig.update_traces(font=dict(...), selector=dict(type='carpet'))
Type: dict containing one or more of the keys listed below.The default font used for axis & tick labels on this carpet
- color
Code:fig.update_traces(font_color=<VALUE>, selector=dict(type='carpet'))
Type: color
Default:"#444"
- family
Code:fig.update_traces(font_family=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:""Open Sans", verdana, arial, sans-serif"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(font_lineposition=<VALUE>, selector=dict(type='carpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(font_shadow=<VALUE>, selector=dict(type='carpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(font_size=<VALUE>, selector=dict(type='carpet'))
Type: number greater than or equal to 1
Default:12
- style
Code:fig.update_traces(font_style=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(font_textcase=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(font_variant=<VALUE>, selector=dict(type='carpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(font_weight=<VALUE>, selector=dict(type='carpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='carpet'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
scattercarpet traces
plotly.graph_objects.Scattercarpet
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Plots a scatter trace on either the first carpet axis or the carpet axis with a matching `carpet` attribute.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattercarpet'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattercarpet'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='scattercarpet'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- mode
Code:fig.update_traces(mode=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"lines"
,"markers"
,"text"
joined with a"+"
OR"none"
.
Examples:"lines"
,"markers"
,"lines+markers"
,"lines+markers+text"
,"none"
Default:"markers"
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- a
Code:fig.update_traces(a=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the a-axis coordinates.
- b
Code:fig.update_traces(b=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the b-axis coordinates.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:""
Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- textposition
Code:fig.update_traces(textposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- texttemplate
Code:fig.update_traces(texttemplate=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:""
Template string used for rendering the information text that appear 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. Every attributes that can be specified per-point (the ones that are `arrayOk: True`) are available. Finally, the template string has access to variables `a`, `b` and `text`.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:""
Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"a"
,"b"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"a"
,"b"
,"a+b"
,"a+b+text"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- hovertemplate
Code:fig.update_traces(hovertemplate=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:""
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. 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>`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='scattercarpet'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='scattercarpet'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_traces(marker_angle=<VALUE>, selector=dict(type='scattercarpet'))
Type: angle
Default:0
Sets the marker angle in respect to `angleref`.
- angleref
Code:fig.update_traces(marker_angleref=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("previous"
|"up"
)
Default:"up"
Sets the reference for marker angle. With "previous", angle 0 points along the line from the previous point to this one. With "up", angle 0 points toward the top of the screen.
- autocolorscale
Code:fig.update_traces(marker_autocolorscale=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_cauto=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `False` when `marker.cmin` and `marker.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_cmax=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_cmid=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_cmin=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colorsSets 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.cmin` and `marker.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_coloraxis=<VALUE>, selector=dict(type='scattercarpet'))
Type: subplotidSets 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.
- colorbar
Code:fig.update_traces(marker_colorbar=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(marker_colorbar_bgcolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(marker_colorbar_bordercolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(marker_colorbar_borderwidth=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(marker_colorbar_dtick=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(marker_colorbar_exponentformat=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(marker_colorbar_labelalias=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(marker_colorbar_len=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(marker_colorbar_lenmode=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(marker_colorbar_minexponent=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(marker_colorbar_nticks=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(marker_colorbar_orientation=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(marker_colorbar_outlinecolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(marker_colorbar_outlinewidth=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(marker_colorbar_separatethousands=<VALUE>, selector=dict(type='scattercarpet'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(marker_colorbar_showexponent=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(marker_colorbar_showticklabels=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(marker_colorbar_showtickprefix=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(marker_colorbar_showticksuffix=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(marker_colorbar_thickness=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(marker_colorbar_thicknessmode=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(marker_colorbar_tick0=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(marker_colorbar_tickangle=<VALUE>, selector=dict(type='scattercarpet'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(marker_colorbar_tickcolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(marker_colorbar_tickfont=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(marker_colorbar_tickfont_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color - family
Code:fig.update_traces(marker_colorbar_tickfont_family=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_tickfont_shadow=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_tickfont_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_tickfont_style=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_tickfont_textcase=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_tickfont_variant=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_tickfont_weight=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(marker_colorbar_tickformat=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(marker_colorbar_tickformatstops=list(...), selector=dict(type='scattercarpet'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=scattercarpet].marker.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=scattercarpet].marker.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=scattercarpet].marker.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=scattercarpet].marker.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=scattercarpet].marker.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(marker_colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(marker_colorbar_ticklabelposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(marker_colorbar_ticklabelstep=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(marker_colorbar_ticklen=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(marker_colorbar_tickmode=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(marker_colorbar_tickprefix=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(marker_colorbar_ticks=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(marker_colorbar_ticksuffix=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(marker_colorbar_ticktext=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(marker_colorbar_tickvals=<VALUE>, selector=dict(type='scattercarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(marker_colorbar_tickwidth=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(marker_colorbar_title=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(marker_colorbar_title_font=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(marker_colorbar_title_font_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color - family
Code:fig.update_traces(marker_colorbar_title_font_family=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(marker_colorbar_title_font_lineposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(marker_colorbar_title_font_shadow=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(marker_colorbar_title_font_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(marker_colorbar_title_font_style=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(marker_colorbar_title_font_textcase=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(marker_colorbar_title_font_variant=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(marker_colorbar_title_font_weight=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(marker_colorbar_title_side=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(marker_colorbar_title_text=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(marker_colorbar_x=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(marker_colorbar_xanchor=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(marker_colorbar_xpad=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(marker_colorbar_xref=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(marker_colorbar_y=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(marker_colorbar_yanchor=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(marker_colorbar_ypad=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(marker_colorbar_yref=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_traces(marker_colorscale=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- gradient
Code:fig.update_traces(marker_gradient=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(marker_gradient_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colorsSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
- type
Code:fig.update_traces(marker_gradient_type=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("radial"
|"horizontal"
|"vertical"
|"none"
)
Default:"none"
Sets the type of gradient used to fill the markers
- color
- line
Code:fig.update_traces(marker_line=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_traces(marker_line_autocolorscale=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_traces(marker_line_cauto=<VALUE>, selector=dict(type='scattercarpet'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `False` when `marker.line.cmin` and `marker.line.cmax` are set by the user.
- cmax
Code:fig.update_traces(marker_line_cmax=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the upper bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well.
- cmid
Code:fig.update_traces(marker_line_cmid=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `False`.
- cmin
Code:fig.update_traces(marker_line_cmin=<VALUE>, selector=dict(type='scattercarpet'))
Type: numberSets the lower bound of the color domain. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well.
- color
Code:fig.update_traces(marker_line_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colorsSets 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` and `marker.line.cmax` if set.
- coloraxis
Code:fig.update_traces(marker_line_coloraxis=<VALUE>, selector=dict(type='scattercarpet'))
Type: subplotidSets 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.
- colorscale
Code:fig.update_traces(marker_line_colorscale=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorscaleSets the colorscale. Has an effect only if in `marker.line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `marker.line.cmin` and `marker.line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_traces(marker_line_reversescale=<VALUE>, selector=dict(type='scattercarpet'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.line.color` is set to a numerical array. If True, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.
- width
Code:fig.update_traces(marker_line_width=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 0Sets the width (in px) of the lines bounding the marker points.
- autocolorscale
- maxdisplayed
Code:fig.update_traces(marker_maxdisplayed=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:0
Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers between or equal to 0 and 1Sets the marker opacity.
- reversescale
Code:fig.update_traces(marker_reversescale=<VALUE>, selector=dict(type='scattercarpet'))
Type: booleanReverses the color mapping if True. Has an effect only if in `marker.color` is set to a numerical array. If True, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
- showscale
Code:fig.update_traces(marker_showscale=<VALUE>, selector=dict(type='scattercarpet'))
Type: booleanDetermines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
- size
Code:fig.update_traces(marker_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 0
Default:6
Sets the marker size (in px).
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:0
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
- sizemode
Code:fig.update_traces(marker_sizemode=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("diameter"
|"area"
)
Default:"diameter"
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels.
- sizeref
Code:fig.update_traces(marker_sizeref=<VALUE>, selector=dict(type='scattercarpet'))
Type: number
Default:1
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`.
- standoff
Code:fig.update_traces(marker_standoff=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 0
Default:0
Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it.
- symbol
Code:fig.update_traces(marker_symbol=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("0"
|"0"
|"circle"
|"100"
|"100"
|"circle-open"
|"200"
|"200"
|"circle-dot"
|"300"
|"300"
|"circle-open-dot"
|"1"
|"1"
|"square"
|"101"
|"101"
|"square-open"
|"201"
|"201"
|"square-dot"
|"301"
|"301"
|"square-open-dot"
|"2"
|"2"
|"diamond"
|"102"
|"102"
|"diamond-open"
|"202"
|"202"
|"diamond-dot"
|"302"
|"302"
|"diamond-open-dot"
|"3"
|"3"
|"cross"
|"103"
|"103"
|"cross-open"
|"203"
|"203"
|"cross-dot"
|"303"
|"303"
|"cross-open-dot"
|"4"
|"4"
|"x"
|"104"
|"104"
|"x-open"
|"204"
|"204"
|"x-dot"
|"304"
|"304"
|"x-open-dot"
|"5"
|"5"
|"triangle-up"
|"105"
|"105"
|"triangle-up-open"
|"205"
|"205"
|"triangle-up-dot"
|"305"
|"305"
|"triangle-up-open-dot"
|"6"
|"6"
|"triangle-down"
|"106"
|"106"
|"triangle-down-open"
|"206"
|"206"
|"triangle-down-dot"
|"306"
|"306"
|"triangle-down-open-dot"
|"7"
|"7"
|"triangle-left"
|"107"
|"107"
|"triangle-left-open"
|"207"
|"207"
|"triangle-left-dot"
|"307"
|"307"
|"triangle-left-open-dot"
|"8"
|"8"
|"triangle-right"
|"108"
|"108"
|"triangle-right-open"
|"208"
|"208"
|"triangle-right-dot"
|"308"
|"308"
|"triangle-right-open-dot"
|"9"
|"9"
|"triangle-ne"
|"109"
|"109"
|"triangle-ne-open"
|"209"
|"209"
|"triangle-ne-dot"
|"309"
|"309"
|"triangle-ne-open-dot"
|"10"
|"10"
|"triangle-se"
|"110"
|"110"
|"triangle-se-open"
|"210"
|"210"
|"triangle-se-dot"
|"310"
|"310"
|"triangle-se-open-dot"
|"11"
|"11"
|"triangle-sw"
|"111"
|"111"
|"triangle-sw-open"
|"211"
|"211"
|"triangle-sw-dot"
|"311"
|"311"
|"triangle-sw-open-dot"
|"12"
|"12"
|"triangle-nw"
|"112"
|"112"
|"triangle-nw-open"
|"212"
|"212"
|"triangle-nw-dot"
|"312"
|"312"
|"triangle-nw-open-dot"
|"13"
|"13"
|"pentagon"
|"113"
|"113"
|"pentagon-open"
|"213"
|"213"
|"pentagon-dot"
|"313"
|"313"
|"pentagon-open-dot"
|"14"
|"14"
|"hexagon"
|"114"
|"114"
|"hexagon-open"
|"214"
|"214"
|"hexagon-dot"
|"314"
|"314"
|"hexagon-open-dot"
|"15"
|"15"
|"hexagon2"
|"115"
|"115"
|"hexagon2-open"
|"215"
|"215"
|"hexagon2-dot"
|"315"
|"315"
|"hexagon2-open-dot"
|"16"
|"16"
|"octagon"
|"116"
|"116"
|"octagon-open"
|"216"
|"216"
|"octagon-dot"
|"316"
|"316"
|"octagon-open-dot"
|"17"
|"17"
|"star"
|"117"
|"117"
|"star-open"
|"217"
|"217"
|"star-dot"
|"317"
|"317"
|"star-open-dot"
|"18"
|"18"
|"hexagram"
|"118"
|"118"
|"hexagram-open"
|"218"
|"218"
|"hexagram-dot"
|"318"
|"318"
|"hexagram-open-dot"
|"19"
|"19"
|"star-triangle-up"
|"119"
|"119"
|"star-triangle-up-open"
|"219"
|"219"
|"star-triangle-up-dot"
|"319"
|"319"
|"star-triangle-up-open-dot"
|"20"
|"20"
|"star-triangle-down"
|"120"
|"120"
|"star-triangle-down-open"
|"220"
|"220"
|"star-triangle-down-dot"
|"320"
|"320"
|"star-triangle-down-open-dot"
|"21"
|"21"
|"star-square"
|"121"
|"121"
|"star-square-open"
|"221"
|"221"
|"star-square-dot"
|"321"
|"321"
|"star-square-open-dot"
|"22"
|"22"
|"star-diamond"
|"122"
|"122"
|"star-diamond-open"
|"222"
|"222"
|"star-diamond-dot"
|"322"
|"322"
|"star-diamond-open-dot"
|"23"
|"23"
|"diamond-tall"
|"123"
|"123"
|"diamond-tall-open"
|"223"
|"223"
|"diamond-tall-dot"
|"323"
|"323"
|"diamond-tall-open-dot"
|"24"
|"24"
|"diamond-wide"
|"124"
|"124"
|"diamond-wide-open"
|"224"
|"224"
|"diamond-wide-dot"
|"324"
|"324"
|"diamond-wide-open-dot"
|"25"
|"25"
|"hourglass"
|"125"
|"125"
|"hourglass-open"
|"26"
|"26"
|"bowtie"
|"126"
|"126"
|"bowtie-open"
|"27"
|"27"
|"circle-cross"
|"127"
|"127"
|"circle-cross-open"
|"28"
|"28"
|"circle-x"
|"128"
|"128"
|"circle-x-open"
|"29"
|"29"
|"square-cross"
|"129"
|"129"
|"square-cross-open"
|"30"
|"30"
|"square-x"
|"130"
|"130"
|"square-x-open"
|"31"
|"31"
|"diamond-cross"
|"131"
|"131"
|"diamond-cross-open"
|"32"
|"32"
|"diamond-x"
|"132"
|"132"
|"diamond-x-open"
|"33"
|"33"
|"cross-thin"
|"133"
|"133"
|"cross-thin-open"
|"34"
|"34"
|"x-thin"
|"134"
|"134"
|"x-thin-open"
|"35"
|"35"
|"asterisk"
|"135"
|"135"
|"asterisk-open"
|"36"
|"36"
|"hash"
|"136"
|"136"
|"hash-open"
|"236"
|"236"
|"hash-dot"
|"336"
|"336"
|"hash-open-dot"
|"37"
|"37"
|"y-up"
|"137"
|"137"
|"y-up-open"
|"38"
|"38"
|"y-down"
|"138"
|"138"
|"y-down-open"
|"39"
|"39"
|"y-left"
|"139"
|"139"
|"y-left-open"
|"40"
|"40"
|"y-right"
|"140"
|"140"
|"y-right-open"
|"41"
|"41"
|"line-ew"
|"141"
|"141"
|"line-ew-open"
|"42"
|"42"
|"line-ns"
|"142"
|"142"
|"line-ns-open"
|"43"
|"43"
|"line-ne"
|"143"
|"143"
|"line-ne-open"
|"44"
|"44"
|"line-nw"
|"144"
|"144"
|"line-nw-open"
|"45"
|"45"
|"arrow-up"
|"145"
|"145"
|"arrow-up-open"
|"46"
|"46"
|"arrow-down"
|"146"
|"146"
|"arrow-down-open"
|"47"
|"47"
|"arrow-left"
|"147"
|"147"
|"arrow-left-open"
|"48"
|"48"
|"arrow-right"
|"148"
|"148"
|"arrow-right-open"
|"49"
|"49"
|"arrow-bar-up"
|"149"
|"149"
|"arrow-bar-up-open"
|"50"
|"50"
|"arrow-bar-down"
|"150"
|"150"
|"arrow-bar-down-open"
|"51"
|"51"
|"arrow-bar-left"
|"151"
|"151"
|"arrow-bar-left-open"
|"52"
|"52"
|"arrow-bar-right"
|"152"
|"152"
|"arrow-bar-right-open"
|"53"
|"53"
|"arrow"
|"153"
|"153"
|"arrow-open"
|"54"
|"54"
|"arrow-wide"
|"154"
|"154"
|"arrow-wide-open"
)
Default:"circle"
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name.
- angle
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- backoff
Code:fig.update_traces(line_backoff=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 0
Default:"auto"
Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With "auto" the lines would trim before markers if `marker.angleref` is set to "previous".
- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the line color.
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='scattercarpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- shape
Code:fig.update_traces(line_shape=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("linear"
|"spline"
)
Default:"linear"
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='scattercarpet'))
Type: number between or equal to 0 and 1.3
Default:1
Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- backoff
- textfont
Code:fig.update_traces(textfont=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.Sets the text font.
- color
Code:fig.update_traces(textfont_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colors - family
Code:fig.update_traces(textfont_family=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(textfont_lineposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(textfont_shadow=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(textfont_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(textfont_style=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(textfont_textcase=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(textfont_variant=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(textfont_weight=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- selectedpoints
Code:fig.update_traces(selectedpoints=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringArray containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
- selected
Code:fig.update_traces(selected=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(selected_marker=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_marker_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the marker color of selected points.
- opacity
Code:fig.update_traces(selected_marker_opacity=<VALUE>, selector=dict(type='scattercarpet'))
Type: number between or equal to 0 and 1Sets the marker opacity of selected points.
- size
Code:fig.update_traces(selected_marker_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0Sets the marker size of selected points.
- color
- textfont
Code:fig.update_traces(selected_textfont=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(selected_textfont_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the text font color of selected points.
- color
- marker
- unselected
Code:fig.update_traces(unselected=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- marker
Code:fig.update_traces(unselected_marker=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_marker_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the marker color of unselected points, applied only when a selection exists.
- opacity
Code:fig.update_traces(unselected_marker_opacity=<VALUE>, selector=dict(type='scattercarpet'))
Type: number between or equal to 0 and 1Sets the marker opacity of unselected points, applied only when a selection exists.
- size
Code:fig.update_traces(unselected_marker_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number greater than or equal to 0Sets the marker size of unselected points, applied only when a selection exists.
- color
- textfont
Code:fig.update_traces(unselected_textfont=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(unselected_textfont_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the text font color of unselected points, applied only when a selection exists.
- color
- marker
- carpet
Code:fig.update_traces(carpet=<VALUE>, selector=dict(type='scattercarpet'))
Type: stringAn identifier for this carpet, so that `scattercarpet` and `contourcarpet` traces can specify a carpet plot on which they lie
- connectgaps
Code:fig.update_traces(connectgaps=<VALUE>, selector=dict(type='scattercarpet'))
Type: booleanDetermines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
- fill
Code:fig.update_traces(fill=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated , one of ("none"
|"toself"
|"tonext"
)
Default:"none"
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterternary has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other.
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: colorSets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='scattercarpet'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='scattercarpet'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='scattercarpet'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='scattercarpet'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='scattercarpet'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- hoveron
Code:fig.update_traces(hoveron=<VALUE>, selector=dict(type='scattercarpet'))
Type: flaglist string. Any combination of"points"
,"fills"
joined with a"+"
Examples:"points"
,"fills"
,"points+fills"
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='scattercarpet'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
contourcarpet traces
plotly.graph_objects.Contourcarpet
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. Plots contours on either the first carpet axis or the carpet axis with a matching `carpet` attribute. Data `z` is interpreted as matching that of the corresponding carpet axis.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='contourcarpet'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='contourcarpet'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='contourcarpet'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='contourcarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='contourcarpet'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- zorder
Code:fig.update_traces(zorder=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer
Default:0
Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.
- z
Code:fig.update_traces(z=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the z data.
- a
Code:fig.update_traces(a=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- atype
Code:fig.update_traces(atype=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's x coordinates are given by "x" (the default behavior when `x` is provided). If "scaled", the heatmap's x coordinates are given by "x0" and "dx" (the default behavior when `x` is not provided).
- a0
Code:fig.update_traces(a0=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate string
Default:0
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
- da
Code:fig.update_traces(da=<VALUE>, selector=dict(type='contourcarpet'))
Type: number
Default:1
Sets the x coordinate step. See `x0` for more info.
- b
Code:fig.update_traces(b=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- btype
Code:fig.update_traces(btype=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("array"
|"scaled"
)If "array", the heatmap's y coordinates are given by "y" (the default behavior when `y` is provided) If "scaled", the heatmap's y coordinates are given by "y0" and "dy" (the default behavior when `y` is not provided)
- b0
Code:fig.update_traces(b0=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate string
Default:0
Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
- db
Code:fig.update_traces(db=<VALUE>, selector=dict(type='contourcarpet'))
Type: number
Default:1
Sets the y coordinate step. See `y0` for more info.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text elements associated with each z value.
- hovertext
Code:fig.update_traces(hovertext=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Same as `text`.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='contourcarpet'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='contourcarpet'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- coloraxis
Code:fig.update_traces(coloraxis=<VALUE>, selector=dict(type='contourcarpet'))
Type: subplotidSets 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.
- line
Code:fig.update_traces(line=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_traces(line_color=<VALUE>, selector=dict(type='contourcarpet'))
Type: colorSets the color of the contour level. Has no effect if `contours.coloring` is set to "lines".
- dash
Code:fig.update_traces(line_dash=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- smoothing
Code:fig.update_traces(line_smoothing=<VALUE>, selector=dict(type='contourcarpet'))
Type: number between or equal to 0 and 1.3
Default:1
Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.
- width
Code:fig.update_traces(line_width=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0Sets the contour line width in (in px) Defaults to "0.5" when `contours.type` is "levels". Defaults to "2" when `contour.type` is "constraint".
- color
- colorbar
Code:fig.update_traces(colorbar=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_traces(colorbar_bgcolor=<VALUE>, selector=dict(type='contourcarpet'))
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_traces(colorbar_bordercolor=<VALUE>, selector=dict(type='contourcarpet'))
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_traces(colorbar_borderwidth=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_traces(colorbar_dtick=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_traces(colorbar_exponentformat=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_traces(colorbar_labelalias=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_traces(colorbar_len=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_traces(colorbar_lenmode=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_traces(colorbar_minexponent=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_traces(colorbar_nticks=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_traces(colorbar_orientation=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_traces(colorbar_outlinecolor=<VALUE>, selector=dict(type='contourcarpet'))
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_traces(colorbar_outlinewidth=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_traces(colorbar_separatethousands=<VALUE>, selector=dict(type='contourcarpet'))
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_traces(colorbar_showexponent=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_traces(colorbar_showticklabels=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_traces(colorbar_showtickprefix=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_traces(colorbar_showticksuffix=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_traces(colorbar_thickness=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_traces(colorbar_thicknessmode=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_traces(colorbar_tick0=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_traces(colorbar_tickangle=<VALUE>, selector=dict(type='contourcarpet'))
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_traces(colorbar_tickcolor=<VALUE>, selector=dict(type='contourcarpet'))
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_traces(colorbar_tickfont=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_traces(colorbar_tickfont_color=<VALUE>, selector=dict(type='contourcarpet'))
Type: color - family
Code:fig.update_traces(colorbar_tickfont_family=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_tickfont_lineposition=<VALUE>, selector=dict(type='contourcarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_tickfont_shadow=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_tickfont_size=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_tickfont_style=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_tickfont_textcase=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_tickfont_variant=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_tickfont_weight=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_traces(colorbar_tickformat=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_traces(colorbar_tickformatstops=list(...), selector=dict(type='contourcarpet'))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:data[type=contourcarpet].colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:data[type=contourcarpet].colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:data[type=contourcarpet].colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:data[type=contourcarpet].colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:data[type=contourcarpet].colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_traces(colorbar_ticklabeloverflow=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_traces(colorbar_ticklabelposition=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_traces(colorbar_ticklabelstep=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_traces(colorbar_ticklen=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_traces(colorbar_tickmode=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_traces(colorbar_tickprefix=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_traces(colorbar_ticks=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_traces(colorbar_ticksuffix=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_traces(colorbar_ticktext=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_traces(colorbar_tickvals=<VALUE>, selector=dict(type='contourcarpet'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_traces(colorbar_tickwidth=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_traces(colorbar_title=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(colorbar_title_font=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_traces(colorbar_title_font_color=<VALUE>, selector=dict(type='contourcarpet'))
Type: color - family
Code:fig.update_traces(colorbar_title_font_family=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(colorbar_title_font_lineposition=<VALUE>, selector=dict(type='contourcarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(colorbar_title_font_shadow=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(colorbar_title_font_size=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(colorbar_title_font_style=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(colorbar_title_font_textcase=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(colorbar_title_font_variant=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(colorbar_title_font_weight=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_traces(colorbar_title_side=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_traces(colorbar_title_text=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_traces(colorbar_x=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_traces(colorbar_xanchor=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_traces(colorbar_xpad=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_traces(colorbar_xref=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_traces(colorbar_y=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_traces(colorbar_yanchor=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_traces(colorbar_ypad=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_traces(colorbar_yref=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- autocolorscale
Code:fig.update_traces(autocolorscale=<VALUE>, selector=dict(type='contourcarpet'))
Type: booleanDetermines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- colorscale
Code:fig.update_traces(colorscale=<VALUE>, selector=dict(type='contourcarpet'))
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- showscale
Code:fig.update_traces(showscale=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- reversescale
Code:fig.update_traces(reversescale=<VALUE>, selector=dict(type='contourcarpet'))
Type: booleanReverses the color mapping if True. If True, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.
- zauto
Code:fig.update_traces(zauto=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `False` when `zmin` and `zmax` are set by the user.
- zmax
Code:fig.update_traces(zmax=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.
- zmid
Code:fig.update_traces(zmid=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `False`.
- zmin
Code:fig.update_traces(zmin=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.
- autocontour
Code:fig.update_traces(autocontour=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not the contour level attributes are picked by an algorithm. If "True", the number of contour levels can be set in `ncontours`. If "False", set the contour level attributes in `contours`.
- carpet
Code:fig.update_traces(carpet=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringThe `carpet` of the carpet axes on which this contour trace lies
- contours
Code:fig.update_traces(contours=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.- coloring
Code:fig.update_traces(contours_coloring=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("fill"
|"lines"
|"none"
)
Default:"fill"
Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.
- end
Code:fig.update_traces(contours_end=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the end contour level value. Must be more than `contours.start`
- labelfont
Code:fig.update_traces(contours_labelfont=dict(...), selector=dict(type='contourcarpet'))
Type: dict containing one or more of the keys listed below.Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.
- color
Code:fig.update_traces(contours_labelfont_color=<VALUE>, selector=dict(type='contourcarpet'))
Type: color - family
Code:fig.update_traces(contours_labelfont_family=<VALUE>, selector=dict(type='contourcarpet'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(contours_labelfont_lineposition=<VALUE>, selector=dict(type='contourcarpet'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(contours_labelfont_shadow=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(contours_labelfont_size=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(contours_labelfont_style=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(contours_labelfont_textcase=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(contours_labelfont_variant=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(contours_labelfont_weight=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- labelformat
Code:fig.update_traces(contours_labelformat=<VALUE>, selector=dict(type='contourcarpet'))
Type: string
Default:""
Sets the contour label formatting rule using 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.
- operation
Code:fig.update_traces(contours_operation=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("="
|"<"
|">="
|">"
|"<="
|"[]"
|"()"
|"[)"
|"(]"
|"]["
|")("
|"]("
|")["
)
Default:"="
Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.
- showlabels
Code:fig.update_traces(contours_showlabels=<VALUE>, selector=dict(type='contourcarpet'))
Type: booleanDetermines whether to label the contour lines with their values.
- showlines
Code:fig.update_traces(contours_showlines=<VALUE>, selector=dict(type='contourcarpet'))
Type: boolean
Default:True
Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to "fill".
- size
Code:fig.update_traces(contours_size=<VALUE>, selector=dict(type='contourcarpet'))
Type: number greater than or equal to 0Sets the step between each contour level. Must be positive.
- start
Code:fig.update_traces(contours_start=<VALUE>, selector=dict(type='contourcarpet'))
Type: numberSets the starting contour level value. Must be less than `contours.end`
- type
Code:fig.update_traces(contours_type=<VALUE>, selector=dict(type='contourcarpet'))
Type: enumerated , one of ("levels"
|"constraint"
)
Default:"levels"
If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters.
- value
Code:fig.update_traces(contours_value=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate string
Default:0
Sets the value or values of the constraint boundary. When `operation` is set to one of the comparison values (=,<,>=,>,<=) "value" is expected to be a number. When `operation` is set to one of the interval values ([],(),[),(],][,)(,](,)[) "value" is expected to be an array of two numbers where the first is the lower bound and the second is the upper bound.
- coloring
- fillcolor
Code:fig.update_traces(fillcolor=<VALUE>, selector=dict(type='contourcarpet'))
Type: colorSets the fill color if `contours.type` is "constraint". Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
- ncontours
Code:fig.update_traces(ncontours=<VALUE>, selector=dict(type='contourcarpet'))
Type: integer greater than or equal to 1
Default:15
Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "True" or if `contours.size` is missing.
- transpose
Code:fig.update_traces(transpose=<VALUE>, selector=dict(type='contourcarpet'))
Type: booleanTransposes the z data.
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='contourcarpet'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
pointcloud traces
plotly.graph_objects.Pointcloud
trace is a graph object in the figure's data
list with any of the named arguments or attributes listed below. "pointcloud" trace is deprecated! Please consider switching to the "scattergl" trace type. The data visualized as a point cloud set in `x` and `y` using the WebGl plotting engine.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='pointcloud'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
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).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='pointcloud'))
Type: boolean
Default:True
Determines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='pointcloud'))
Type: subplotid
Default: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.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='pointcloud'))
Type: number
Default:1000
Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='pointcloud'))
Type: string
Default:""
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
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='pointcloud'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='pointcloud'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='pointcloud'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='pointcloud'))
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='pointcloud'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(legendgrouptitle_font_textcase=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(legendgrouptitle_font_variant=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(legendgrouptitle_font_weight=<VALUE>, selector=dict(type='pointcloud'))
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_traces(legendgrouptitle_text=<VALUE>, selector=dict(type='pointcloud'))
Type: string
Default:""
Sets the title of the legend group.
- font
- legendwidth
Code:fig.update_traces(legendwidth=<VALUE>, selector=dict(type='pointcloud'))
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this trace.
- opacity
Code:fig.update_traces(opacity=<VALUE>, selector=dict(type='pointcloud'))
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the trace.
- ids
Code:fig.update_traces(ids=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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.
- x
Code:fig.update_traces(x=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the x coordinates.
- y
Code:fig.update_traces(y=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the y coordinates.
- xy
Code:fig.update_traces(xy=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Faster alternative to specifying `x` and `y` separately. If supplied, it must be a typed `Float32Array` array that represents points such that `xy[i " 2] = x[i]` and `xy[i " 2 + 1] = y[i]`
- xbounds
Code:fig.update_traces(xbounds=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Specify `xbounds` in the shape of `[xMin, xMax] to avoid looping through the `xy` typed array. Use it in conjunction with `xy` and `ybounds` for the performance benefits.
- ybounds
Code:fig.update_traces(ybounds=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Specify `ybounds` in the shape of `[yMin, yMax] to avoid looping through the `xy` typed array. Use it in conjunction with `xy` and `xbounds` for the performance benefits.
- indices
Code:fig.update_traces(indices=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.A sequential value, 0..n, supply it to avoid creating this array inside plotting. If specified, it must be a typed `Int32Array` array. Its length must be equal to or greater than the number of points. For the best performance and memory use, create one large `indices` typed array that is guaranteed to be at least as long as the largest number of points during use, and reuse it on each `Plotly.restyle()` call.
- text
Code:fig.update_traces(text=<VALUE>, selector=dict(type='pointcloud'))
Type: string or array of strings
Default:""
Sets text elements associated with each (x,y) pair. 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) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
- hoverinfo
Code:fig.update_traces(hoverinfo=<VALUE>, selector=dict(type='pointcloud'))
Type: flaglist string. Any combination of"x"
,"y"
,"z"
,"text"
,"name"
joined with a"+"
OR"all"
or"none"
or"skip"
.
Examples:"x"
,"y"
,"x+y"
,"x+y+z"
,"all"
Default:"all"
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
- meta
Code:fig.update_traces(meta=<VALUE>, selector=dict(type='pointcloud'))
Type: number or categorical coordinate stringAssigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
- customdata
Code:fig.update_traces(customdata=<VALUE>, selector=dict(type='pointcloud'))
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.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
- xaxis
Code:fig.update_traces(xaxis=<VALUE>, selector=dict(type='pointcloud'))
Type: subplotid
Default:x
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.
- yaxis
Code:fig.update_traces(yaxis=<VALUE>, selector=dict(type='pointcloud'))
Type: subplotid
Default:y
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.
- marker
Code:fig.update_traces(marker=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.- blend
Code:fig.update_traces(marker_blend=<VALUE>, selector=dict(type='pointcloud'))
Type: booleanDetermines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `True` reduces zoom/pan speed if used with large numbers of points.
- border
Code:fig.update_traces(marker_border=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.- arearatio
Code:fig.update_traces(marker_border_arearatio=<VALUE>, selector=dict(type='pointcloud'))
Type: number between or equal to 0 and 1
Default:0
Specifies what fraction of the marker area is covered with the border.
- color
Code:fig.update_traces(marker_border_color=<VALUE>, selector=dict(type='pointcloud'))
Type: colorSets the stroke color. It accepts a specific color. If the color is not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning.
- arearatio
- color
Code:fig.update_traces(marker_color=<VALUE>, selector=dict(type='pointcloud'))
Type: colorSets the marker fill color. It accepts a specific color. If the color is not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning.
- opacity
Code:fig.update_traces(marker_opacity=<VALUE>, selector=dict(type='pointcloud'))
Type: number between or equal to 0 and 1
Default:1
Sets the marker opacity. The default value is `1` (fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even if `blend` is left on `False` even if there is no translucency effect in that case.
- sizemax
Code:fig.update_traces(marker_sizemax=<VALUE>, selector=dict(type='pointcloud'))
Type: number greater than or equal to 0.1
Default:20
Sets the maximum size (in px) of the rendered marker points. Effective when the `pointcloud` shows only few points.
- sizemin
Code:fig.update_traces(marker_sizemin=<VALUE>, selector=dict(type='pointcloud'))
Type: number between or equal to 0.1 and 2
Default:0.5
Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points.
- blend
- hoverlabel
Code:fig.update_traces(hoverlabel=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_traces(hoverlabel_align=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated or array of enumerateds , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_traces(hoverlabel_bgcolor=<VALUE>, selector=dict(type='pointcloud'))
Type: color or array of colorsSets the background color of the hover labels for this trace
- bordercolor
Code:fig.update_traces(hoverlabel_bordercolor=<VALUE>, selector=dict(type='pointcloud'))
Type: color or array of colorsSets the border color of the hover labels for this trace.
- font
Code:fig.update_traces(hoverlabel_font=dict(...), selector=dict(type='pointcloud'))
Type: dict containing one or more of the keys listed below.Sets the font used in hover labels.
- color
Code:fig.update_traces(hoverlabel_font_color=<VALUE>, selector=dict(type='pointcloud'))
Type: color or array of colors - family
Code:fig.update_traces(hoverlabel_font_family=<VALUE>, selector=dict(type='pointcloud'))
Type: string or array of stringsHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_traces(hoverlabel_font_lineposition=<VALUE>, selector=dict(type='pointcloud'))
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(hoverlabel_font_shadow=<VALUE>, selector=dict(type='pointcloud'))
Type: string or array of strings
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(hoverlabel_font_size=<VALUE>, selector=dict(type='pointcloud'))
Type: number or array of numbers greater than or equal to 1 - style
Code:fig.update_traces(hoverlabel_font_style=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated or array of enumerateds , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_traces(hoverlabel_font_textcase=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated or array of enumerateds , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_traces(hoverlabel_font_variant=<VALUE>, selector=dict(type='pointcloud'))
Type: enumerated or array of enumerateds , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_traces(hoverlabel_font_weight=<VALUE>, selector=dict(type='pointcloud'))
Type: integer or array of integers between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_traces(hoverlabel_namelength=<VALUE>, selector=dict(type='pointcloud'))
Type: integer or array of integers greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- uirevision
Code:fig.update_traces(uirevision=<VALUE>, selector=dict(type='pointcloud'))
Type: number or categorical coordinate stringControls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: True` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: True}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
layout
- title
Code:fig.update_layout(title=dict(...))
Type: dict containing one or more of the keys listed below.- automargin
Code:fig.update_layout(title_automargin=<VALUE>)
Type: booleanDetermines whether the title can automatically push the figure margins. If `yref='paper'` then the margin will expand to ensure that the title doesn’t overlap with the edges of the container. If `yref='container'` then the margins will ensure that the title doesn’t overlap with the plot area, tick labels, and axis titles. If `automargin=True` and the margins need to be expanded, then y will be set to a default 1 and yanchor will be set to an appropriate default to ensure that minimal margin space is needed. Note that when `yref='paper'`, only 1 or 0 are allowed y values. Invalid values will be reset to the default 1.
- font
Code:fig.update_layout(title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_layout(title_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- pad
Code:fig.update_layout(title_pad=dict(...))
Type: dict containing one or more of the keys listed below.Sets the padding of the title. Each padding value only applies when the corresponding `xanchor`/`yanchor` value is set accordingly. E.g. for left padding to take effect, `xanchor` must be set to "left". The same rule applies if `xanchor`/`yanchor` is determined automatically. Padding is muted if the respective anchor value is "middle"/"center".
- b
Code:fig.update_layout(title_pad_b=<VALUE>)
Type: number
Default:0
The amount of padding (in px) along the bottom of the component.
- l
Code:fig.update_layout(title_pad_l=<VALUE>)
Type: number
Default:0
The amount of padding (in px) on the left side of the component.
- r
Code:fig.update_layout(title_pad_r=<VALUE>)
Type: number
Default:0
The amount of padding (in px) on the right side of the component.
- t
Code:fig.update_layout(title_pad_t=<VALUE>)
Type: number
Default:0
The amount of padding (in px) along the top of the component.
- b
- subtitle
Code:fig.update_layout(title_subtitle=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_layout(title_subtitle_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the subtitle font.
- color
Code:fig.update_layout(title_subtitle_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(title_subtitle_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(title_subtitle_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(title_subtitle_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(title_subtitle_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(title_subtitle_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(title_subtitle_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(title_subtitle_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(title_subtitle_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_layout(title_subtitle_text=<VALUE>)
Type: stringSets the plot's subtitle.
- font
- text
Code:fig.update_layout(title_text=<VALUE>)
Type: stringSets the plot's title. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- x
Code:fig.update_layout(title_x=<VALUE>)
Type: number between or equal to 0 and 1
Default:0.5
Sets the x position with respect to `xref` in normalized coordinates from "0" (left) to "1" (right).
- xanchor
Code:fig.update_layout(title_xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"auto"
Sets the title's horizontal alignment with respect to its x position. "left" means that the title starts at x, "right" means that the title ends at x and "center" means that the title's center is at x. "auto" divides `xref` by three and calculates the `xanchor` value automatically based on the value of `x`.
- xref
Code:fig.update_layout(title_xref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"container"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_layout(title_y=<VALUE>)
Type: number between or equal to 0 and 1
Default:"auto"
Sets the y position with respect to `yref` in normalized coordinates from "0" (bottom) to "1" (top). "auto" places the baseline of the title onto the vertical center of the top margin.
- yanchor
Code:fig.update_layout(title_yanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"auto"
Sets the title's vertical alignment with respect to its y position. "top" means that the title's cap line is at y, "bottom" means that the title's baseline is at y and "middle" means that the title's midline is at y. "auto" divides `yref` by three and calculates the `yanchor` value automatically based on the value of `y`.
- yref
Code:fig.update_layout(title_yref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"container"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- automargin
- showlegend
Code:fig.update_layout(showlegend=<VALUE>)
Type: booleanDetermines whether or not a legend is drawn. Default is `True` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: True`.
- legend
Code:fig.update_layout(legend=dict(...))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_layout(legend_bgcolor=<VALUE>)
Type: colorSets the legend background color. Defaults to `layout.paper_bgcolor`.
- bordercolor
Code:fig.update_layout(legend_bordercolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the border enclosing the legend.
- borderwidth
Code:fig.update_layout(legend_borderwidth=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets the width (in px) of the border enclosing the legend.
- entrywidth
Code:fig.update_layout(legend_entrywidth=<VALUE>)
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to "pixels".
- entrywidthmode
Code:fig.update_layout(legend_entrywidthmode=<VALUE>)
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines what entrywidth means.
- font
Code:fig.update_layout(legend_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the font used to text the legend items.
- color
Code:fig.update_layout(legend_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(legend_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(legend_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(legend_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(legend_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(legend_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(legend_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(legend_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(legend_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- groupclick
Code:fig.update_layout(legend_groupclick=<VALUE>)
Type: enumerated , one of ("toggleitem"
|"togglegroup"
)
Default:"togglegroup"
Determines the behavior on legend group item click. "toggleitem" toggles the visibility of the individual item clicked on the graph. "togglegroup" toggles the visibility of all items in the same legendgroup as the item clicked on the graph.
- grouptitlefont
Code:fig.update_layout(legend_grouptitlefont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%.
- color
Code:fig.update_layout(legend_grouptitlefont_color=<VALUE>)
Type: color - family
Code:fig.update_layout(legend_grouptitlefont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(legend_grouptitlefont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(legend_grouptitlefont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(legend_grouptitlefont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(legend_grouptitlefont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(legend_grouptitlefont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(legend_grouptitlefont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(legend_grouptitlefont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- indentation
Code:fig.update_layout(legend_indentation=<VALUE>)
Type: number greater than or equal to -15
Default:0
Sets the indentation (in px) of the legend entries.
- itemclick
Code:fig.update_layout(legend_itemclick=<VALUE>)
Type: enumerated , one of ("toggle"
|"toggleothers"
|False
)
Default:"toggle"
Determines the behavior on legend item click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "False" disables legend item click interactions.
- itemdoubleclick
Code:fig.update_layout(legend_itemdoubleclick=<VALUE>)
Type: enumerated , one of ("toggle"
|"toggleothers"
|False
)
Default:"toggleothers"
Determines the behavior on legend item double-click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "False" disables legend item double-click interactions.
- itemsizing
Code:fig.update_layout(legend_itemsizing=<VALUE>)
Type: enumerated , one of ("trace"
|"constant"
)
Default:"trace"
Determines if the legend items symbols scale with their corresponding "trace" attributes or remain "constant" independent of the symbol size on the graph.
- itemwidth
Code:fig.update_layout(legend_itemwidth=<VALUE>)
Type: number greater than or equal to 30
Default:30
Sets the width (in px) of the legend item symbols (the part other than the title.text).
- orientation
Code:fig.update_layout(legend_orientation=<VALUE>)
Type: enumerated , one of ("v"
|"h"
)
Default:"v"
Sets the orientation of the legend.
- title
Code:fig.update_layout(legend_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_layout(legend_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this legend's title font. Defaults to `legend.font` with its size increased about 20%.
- color
Code:fig.update_layout(legend_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(legend_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(legend_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(legend_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(legend_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(legend_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(legend_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(legend_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(legend_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_layout(legend_title_side=<VALUE>)
Type: enumerated , one of ("top"
|"left"
|"top left"
|"top center"
|"top right"
)Determines the location of legend's title with respect to the legend items. Defaulted to "top" with `orientation` is "h". Defaulted to "left" with `orientation` is "v". The "top left" options could be used to expand top center and top right are for horizontal alignment legend area in both x and y sides.
- text
Code:fig.update_layout(legend_title_text=<VALUE>)
Type: string
Default:""
Sets the title of the legend.
- font
- tracegroupgap
Code:fig.update_layout(legend_tracegroupgap=<VALUE>)
Type: number greater than or equal to 0
Default:10
Sets the amount of vertical space (in px) between legend groups.
- traceorder
Code:fig.update_layout(legend_traceorder=<VALUE>)
Type: flaglist string. Any combination of"reversed"
,"grouped"
joined with a"+"
OR"normal"
.
Examples:"reversed"
,"grouped"
,"reversed+grouped"
,"normal"
Determines the order at which the legend items are displayed. If "normal", the items are displayed top-to-bottom in the same order as the input data. If "reversed", the items are displayed in the opposite order as "normal". If "grouped", the items are displayed in groups (when a trace `legendgroup` is provided). if "grouped+reversed", the items are displayed in the opposite order as "grouped".
- uirevision
Code:fig.update_layout(legend_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of legend-driven changes in trace and pie label visibility. Defaults to `layout.uirevision`.
- valign
Code:fig.update_layout(legend_valign=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)
Default:"middle"
Sets the vertical alignment of the symbols with respect to their associated text.
- visible
Code:fig.update_layout(legend_visible=<VALUE>)
Type: boolean
Default:True
Determines whether or not this legend is visible.
- x
Code:fig.update_layout(legend_x=<VALUE>)
Type: numberSets the x position with respect to `xref` (in normalized coordinates) of the legend. When `xref` is "paper", defaults to "1.02" for vertical legends and defaults to "0" for horizontal legends. When `xref` is "container", defaults to "1" for vertical legends and defaults to "0" for horizontal legends. Must be between "0" and "1" if `xref` is "container". and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_layout(legend_xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"left"
Sets the legend's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the legend. Value "auto" anchors legends to the right for `x` values greater than or equal to 2/3, anchors legends to the left for `x` values less than or equal to 1/3 and anchors legends with respect to their center otherwise.
- xref
Code:fig.update_layout(legend_xref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_layout(legend_y=<VALUE>)
Type: numberSets the y position with respect to `yref` (in normalized coordinates) of the legend. When `yref` is "paper", defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders. When `yref` is "container", defaults to "1". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_layout(legend_yanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise.
- yref
Code:fig.update_layout(legend_yref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- margin
Code:fig.update_layout(margin=dict(...))
Type: dict containing one or more of the keys listed below.- autoexpand
Code:fig.update_layout(margin_autoexpand=<VALUE>)
Type: boolean
Default:True
Turns on/off margin expansion computations. Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider are allowed to push the margins by defaults.
- b
Code:fig.update_layout(margin_b=<VALUE>)
Type: number greater than or equal to 0
Default:80
Sets the bottom margin (in px).
- l
Code:fig.update_layout(margin_l=<VALUE>)
Type: number greater than or equal to 0
Default:80
Sets the left margin (in px).
- pad
Code:fig.update_layout(margin_pad=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets the amount of padding (in px) between the plotting area and the axis lines
- r
Code:fig.update_layout(margin_r=<VALUE>)
Type: number greater than or equal to 0
Default:80
Sets the right margin (in px).
- t
Code:fig.update_layout(margin_t=<VALUE>)
Type: number greater than or equal to 0
Default:100
Sets the top margin (in px).
- autoexpand
- autosize
Code:fig.update_layout(autosize=<VALUE>)
Type: booleanDetermines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot.
- width
Code:fig.update_layout(width=<VALUE>)
Type: number greater than or equal to 10
Default:700
Sets the plot's width (in px).
- height
Code:fig.update_layout(height=<VALUE>)
Type: number greater than or equal to 10
Default:450
Sets the plot's height (in px).
- font
Code:fig.update_layout(font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the global font. Note that fonts used in traces and other layout components inherit from the global font.
- color
Code:fig.update_layout(font_color=<VALUE>)
Type: color
Default:"#444"
- family
Code:fig.update_layout(font_family=<VALUE>)
Type: string
Default:""Open Sans", verdana, arial, sans-serif"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(font_size=<VALUE>)
Type: number greater than or equal to 1
Default:12
- style
Code:fig.update_layout(font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- uniformtext
Code:fig.update_layout(uniformtext=dict(...))
Type: dict containing one or more of the keys listed below.- minsize
Code:fig.update_layout(uniformtext_minsize=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets the minimum text size between traces of the same type.
- mode
Code:fig.update_layout(uniformtext_mode=<VALUE>)
Type: enumerated , one of (False
|"hide"
|"show"
)Determines how the font size for various text elements are uniformed between each trace type. If the computed text sizes were smaller than the minimum size defined by `uniformtext.minsize` using "hide" option hides the text; and using "show" option shows the text without further downscaling. Please note that if the size defined by `minsize` is greater than the font size defined by trace, then the `minsize` is used.
- minsize
- separators
Code:fig.update_layout(separators=<VALUE>)
Type: stringSets the decimal and thousand separators. For example, ". " puts a '.' before decimals and a space between thousands. In English locales, dflt is ".," but other locales may alter this default.
- paper_bgcolor
Code:fig.update_layout(paper_bgcolor=<VALUE>)
Type: color
Default:"#fff"
Sets the background color of the paper where the graph is drawn.
- plot_bgcolor
Code:fig.update_layout(plot_bgcolor=<VALUE>)
Type: color
Default:"#fff"
Sets the background color of the plotting area in-between x and y axes.
- autotypenumbers
Code:fig.update_layout(autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. This is the default value; however it could be overridden for individual axes.
- colorscale
Code:fig.update_layout(colorscale=dict(...))
Type: dict containing one or more of the keys listed below.- diverging
Code:fig.update_layout(colorscale_diverging=<VALUE>)
Type: colorscale
Default:[[0, rgb(5,10,172)], [0.35, rgb(106,137,247)], [0.5, rgb(190,190,190)], [0.6, rgb(220,170,132)], [0.7, rgb(230,145,90)], [1, rgb(178,10,28)], ]
Sets the default diverging colorscale. Note that `autocolorscale` must be True for this attribute to work.
- sequential
Code:fig.update_layout(colorscale_sequential=<VALUE>)
Type: colorscale
Default:[[0, rgb(220,220,220)], [0.2, rgb(245,195,157)], [0.4, rgb(245,160,105)], [1, rgb(178,10,28)], ]
Sets the default sequential colorscale for positive values. Note that `autocolorscale` must be True for this attribute to work.
- sequentialminus
Code:fig.update_layout(colorscale_sequentialminus=<VALUE>)
Type: colorscale
Default:[[0, rgb(5,10,172)], [0.35, rgb(40,60,190)], [0.5, rgb(70,100,245)], [0.6, rgb(90,120,245)], [0.7, rgb(106,137,247)], [1, rgb(220,220,220)], ]
Sets the default sequential colorscale for negative values. Note that `autocolorscale` must be True for this attribute to work.
- diverging
- colorway
Code:fig.update_layout(colorway=<VALUE>)
Type: colorlist
Default:[#1f77b4, #ff7f0e, #2ca02c, #d62728, #9467bd, #8c564b, #e377c2, #7f7f7f, #bcbd22, #17becf]
Sets the default trace colors.
- coloraxis
Code:fig.update_coloraxes(...)
Type: dict containing one or more of the keys listed below.- autocolorscale
Code:fig.update_coloraxes(autocolorscale=<VALUE>)
Type: boolean
Default:True
Determines whether the colorscale is a default palette (`autocolorscale: True`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is True, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
- cauto
Code:fig.update_coloraxes(cauto=<VALUE>)
Type: boolean
Default:True
Determines whether or not the color domain is computed with respect to the input data (here corresponding trace color array(s)) or the bounds set in `cmin` and `cmax` Defaults to `False` when `cmin` and `cmax` are set by the user.
- cmax
Code:fig.update_coloraxes(cmax=<VALUE>)
Type: numberSets the upper bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmin` must be set as well.
- cmid
Code:fig.update_coloraxes(cmid=<VALUE>)
Type: numberSets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as corresponding trace color array(s). Has no effect when `cauto` is `False`.
- cmin
Code:fig.update_coloraxes(cmin=<VALUE>)
Type: numberSets the lower bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmax` must be set as well.
- colorbar
Code:fig.update_coloraxes(colorbar=dict(...))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_coloraxes(colorbar_bgcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of padded area.
- bordercolor
Code:fig.update_coloraxes(colorbar_bordercolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- borderwidth
Code:fig.update_coloraxes(colorbar_borderwidth=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets the width (in px) or the border enclosing this color bar.
- dtick
Code:fig.update_coloraxes(colorbar_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_coloraxes(colorbar_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- labelalias
Code:fig.update_coloraxes(colorbar_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- len
Code:fig.update_coloraxes(colorbar_len=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
- lenmode
Code:fig.update_coloraxes(colorbar_lenmode=<VALUE>)
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minexponent
Code:fig.update_coloraxes(colorbar_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_coloraxes(colorbar_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- orientation
Code:fig.update_coloraxes(colorbar_orientation=<VALUE>)
Type: enumerated , one of ("h"
|"v"
)
Default:"v"
Sets the orientation of the colorbar.
- outlinecolor
Code:fig.update_coloraxes(colorbar_outlinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- outlinewidth
Code:fig.update_coloraxes(colorbar_outlinewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- separatethousands
Code:fig.update_coloraxes(colorbar_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_coloraxes(colorbar_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showticklabels
Code:fig.update_coloraxes(colorbar_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_coloraxes(colorbar_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_coloraxes(colorbar_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thickness
Code:fig.update_coloraxes(colorbar_thickness=<VALUE>)
Type: number greater than or equal to 0
Default:30
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
- thicknessmode
Code:fig.update_coloraxes(colorbar_thicknessmode=<VALUE>)
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"pixels"
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.
- tick0
Code:fig.update_coloraxes(colorbar_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_coloraxes(colorbar_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_coloraxes(colorbar_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_coloraxes(colorbar_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the color bar's tick label font
- color
Code:fig.update_coloraxes(colorbar_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_coloraxes(colorbar_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_coloraxes(colorbar_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_coloraxes(colorbar_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_coloraxes(colorbar_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_coloraxes(colorbar_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_coloraxes(colorbar_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_coloraxes(colorbar_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_coloraxes(colorbar_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_coloraxes(colorbar_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_coloraxes(colorbar_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.coloraxis.colorbar.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.coloraxis.colorbar.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.coloraxis.colorbar.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.coloraxis.colorbar.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.coloraxis.colorbar.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabeloverflow
Code:fig.update_coloraxes(colorbar_ticklabeloverflow=<VALUE>)
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_coloraxes(colorbar_ticklabelposition=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".
- ticklabelstep
Code:fig.update_coloraxes(colorbar_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_coloraxes(colorbar_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_coloraxes(colorbar_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_coloraxes(colorbar_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_coloraxes(colorbar_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)
Default:""
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_coloraxes(colorbar_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_coloraxes(colorbar_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_coloraxes(colorbar_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_coloraxes(colorbar_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_coloraxes(colorbar_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_coloraxes(colorbar_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
- color
Code:fig.update_coloraxes(colorbar_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_coloraxes(colorbar_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_coloraxes(colorbar_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_coloraxes(colorbar_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_coloraxes(colorbar_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_coloraxes(colorbar_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_coloraxes(colorbar_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_coloraxes(colorbar_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_coloraxes(colorbar_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- side
Code:fig.update_coloraxes(colorbar_title_side=<VALUE>)
Type: enumerated , one of ("right"
|"top"
|"bottom"
)Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute.
- text
Code:fig.update_coloraxes(colorbar_title_text=<VALUE>)
Type: stringSets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- x
Code:fig.update_coloraxes(colorbar_x=<VALUE>)
Type: numberSets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".
- xanchor
Code:fig.update_coloraxes(colorbar_xanchor=<VALUE>)
Type: enumerated , one of ("left"
|"center"
|"right"
)Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".
- xpad
Code:fig.update_coloraxes(colorbar_xpad=<VALUE>)
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the x direction.
- xref
Code:fig.update_coloraxes(colorbar_xref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.
- y
Code:fig.update_coloraxes(colorbar_y=<VALUE>)
Type: numberSets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".
- yanchor
Code:fig.update_coloraxes(colorbar_yanchor=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".
- ypad
Code:fig.update_coloraxes(colorbar_ypad=<VALUE>)
Type: number greater than or equal to 0
Default:10
Sets the amount of padding (in px) along the y direction.
- yref
Code:fig.update_coloraxes(colorbar_yref=<VALUE>)
Type: enumerated , one of ("container"
|"paper"
)
Default:"paper"
Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.
- bgcolor
- colorscale
Code:fig.update_coloraxes(colorscale=<VALUE>)
Type: colorscaleSets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, 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, use `cmin` and `cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
- reversescale
Code:fig.update_coloraxes(reversescale=<VALUE>)
Type: booleanReverses the color mapping if True. If True, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color.
- showscale
Code:fig.update_coloraxes(showscale=<VALUE>)
Type: boolean
Default:True
Determines whether or not a colorbar is displayed for this trace.
- autocolorscale
- modebar
Code:fig.update_layout(modebar=dict(...))
Type: dict containing one or more of the keys listed below.- activecolor
Code:fig.update_layout(modebar_activecolor=<VALUE>)
Type: colorSets the color of the active or hovered on icons in the modebar.
- add
Code:fig.update_layout(modebar_add=<VALUE>)
Type: string or array of strings
Default:""
Determines which predefined modebar buttons to add. Please note that these buttons will only be shown if they are compatible with all trace types used in a graph. Similar to `config.modeBarButtonsToAdd` option. This may include "v1hovermode", "hoverclosest", "hovercompare", "togglehover", "togglespikelines", "drawline", "drawopenpath", "drawclosedpath", "drawcircle", "drawrect", "eraseshape".
- bgcolor
Code:fig.update_layout(modebar_bgcolor=<VALUE>)
Type: colorSets the background color of the modebar.
- color
Code:fig.update_layout(modebar_color=<VALUE>)
Type: colorSets the color of the icons in the modebar.
- orientation
Code:fig.update_layout(modebar_orientation=<VALUE>)
Type: enumerated , one of ("v"
|"h"
)
Default:"h"
Sets the orientation of the modebar.
- remove
Code:fig.update_layout(modebar_remove=<VALUE>)
Type: string or array of strings
Default:""
Determines which predefined modebar buttons to remove. Similar to `config.modeBarButtonsToRemove` option. This may include "autoScale2d", "autoscale", "editInChartStudio", "editinchartstudio", "hoverCompareCartesian", "hovercompare", "lasso", "lasso2d", "orbitRotation", "orbitrotation", "pan", "pan2d", "pan3d", "reset", "resetCameraDefault3d", "resetCameraLastSave3d", "resetGeo", "resetSankeyGroup", "resetScale2d", "resetViewMap", "resetViewMapbox", "resetViews", "resetcameradefault", "resetcameralastsave", "resetsankeygroup", "resetscale", "resetview", "resetviews", "select", "select2d", "sendDataToCloud", "senddatatocloud", "tableRotation", "tablerotation", "toImage", "toggleHover", "toggleSpikelines", "togglehover", "togglespikelines", "toimage", "zoom", "zoom2d", "zoom3d", "zoomIn2d", "zoomInGeo", "zoomInMap", "zoomInMapbox", "zoomOut2d", "zoomOutGeo", "zoomOutMap", "zoomOutMapbox", "zoomin", "zoomout".
- uirevision
Code:fig.update_layout(modebar_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes related to the modebar, including `hovermode`, `dragmode`, and `showspikes` at both the root level and inside subplots. Defaults to `layout.uirevision`.
- activecolor
- hovermode
Code:fig.update_layout(hovermode=<VALUE>)
Type: enumerated , one of ("x"
|"y"
|"closest"
|False
|"x unified"
|"y unified"
)
Default:"closest"
Determines the mode of hover interactions. If "closest", a single hoverlabel will appear for the "closest" point within the `hoverdistance`. If "x" (or "y"), multiple hoverlabels will appear for multiple points at the "closest" x- (or y-) coordinate within the `hoverdistance`, with the caveat that no more than one hoverlabel will appear per trace. If "x unified" (or "y unified"), a single hoverlabel will appear multiple points at the closest x- (or y-) coordinate within the `hoverdistance` with the caveat that no more than one hoverlabel will appear per trace. In this mode, spikelines are enabled by default perpendicular to the specified axis. If False, hover interactions are disabled.
- hoversubplots
Code:fig.update_layout(hoversubplots=<VALUE>)
Type: enumerated , one of ("single"
|"overlaying"
|"axis"
)
Default:"overlaying"
Determines expansion of hover effects to other subplots If "single" just the axis pair of the primary point is included without overlaying subplots. If "overlaying" all subplots using the main axis and occupying the same space are included. If "axis", also include stacked subplots using the same axis when `hovermode` is set to "x", "x unified", "y" or "y unified".
- clickmode
Code:fig.update_layout(clickmode=<VALUE>)
Type: flaglist string. Any combination of"event"
,"select"
joined with a"+"
OR"none"
.
Examples:"event"
,"select"
,"event+select"
,"none"
Default:"event"
Determines the mode of single click interactions. "event" is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes "lasso" and "select", but with no event data attached (kept for compatibility reasons). The "select" flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. "select" with `hovermode`: "x" can be confusing, consider explicitly setting `hovermode`: "closest" when using this feature. Selection events are sent accordingly as long as "event" flag is set as well. When the "event" flag is missing, `plotly_click` and `plotly_selected` events are not fired.
- dragmode
Code:fig.update_layout(dragmode=<VALUE>)
Type: enumerated , one of ("zoom"
|"pan"
|"select"
|"lasso"
|"drawclosedpath"
|"drawopenpath"
|"drawline"
|"drawrect"
|"drawcircle"
|"orbit"
|"turntable"
|False
)
Default:"zoom"
Determines the mode of drag interactions. "select" and "lasso" apply only to scatter traces with markers or text. "orbit" and "turntable" apply only to 3D scenes.
- selectdirection
Code:fig.update_layout(selectdirection=<VALUE>)
Type: enumerated , one of ("h"
|"v"
|"d"
|"any"
)
Default:"any"
When `dragmode` is set to "select", this limits the selection of the drag to horizontal, vertical or diagonal. "h" only allows horizontal selection, "v" only vertical, "d" only diagonal and "any" sets no limit.
- activeselection
Code:fig.update_layout(activeselection=dict(...))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_layout(activeselection_fillcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the color filling the active selection' interior.
- opacity
Code:fig.update_layout(activeselection_opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:0.5
Sets the opacity of the active selection.
- fillcolor
- newselection
Code:fig.update_layout(newselection=dict(...))
Type: dict containing one or more of the keys listed below.- line
Code:fig.update_layout(newselection_line=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_layout(newselection_line_color=<VALUE>)
Type: colorSets the line color. By default uses either dark grey or white to increase contrast with background color.
- dash
Code:fig.update_layout(newselection_line_dash=<VALUE>)
Type: string
Default:"dot"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_layout(newselection_line_width=<VALUE>)
Type: number greater than or equal to 1
Default:1
Sets the line width (in px).
- color
- mode
Code:fig.update_layout(newselection_mode=<VALUE>)
Type: enumerated , one of ("immediate"
|"gradual"
)
Default:"immediate"
Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection.
- line
- hoverdistance
Code:fig.update_layout(hoverdistance=<VALUE>)
Type: integer greater than or equal to -1
Default:20
Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.
- spikedistance
Code:fig.update_layout(spikedistance=<VALUE>)
Type: integer greater than or equal to -1
Default:-1
Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills.
- hoverlabel
Code:fig.update_layout(hoverlabel=dict(...))
Type: dict containing one or more of the keys listed below.- align
Code:fig.update_layout(hoverlabel_align=<VALUE>)
Type: enumerated , one of ("left"
|"right"
|"auto"
)
Default:"auto"
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
- bgcolor
Code:fig.update_layout(hoverlabel_bgcolor=<VALUE>)
Type: colorSets the background color of all hover labels on graph
- bordercolor
Code:fig.update_layout(hoverlabel_bordercolor=<VALUE>)
Type: colorSets the border color of all hover labels on graph.
- font
Code:fig.update_layout(hoverlabel_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the default hover label font used by all traces on the graph.
- color
Code:fig.update_layout(hoverlabel_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(hoverlabel_font_family=<VALUE>)
Type: string
Default:"Arial, sans-serif"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(hoverlabel_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(hoverlabel_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(hoverlabel_font_size=<VALUE>)
Type: number greater than or equal to 1
Default:13
- style
Code:fig.update_layout(hoverlabel_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(hoverlabel_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(hoverlabel_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(hoverlabel_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- grouptitlefont
Code:fig.update_layout(hoverlabel_grouptitlefont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`.
- color
Code:fig.update_layout(hoverlabel_grouptitlefont_color=<VALUE>)
Type: color - family
Code:fig.update_layout(hoverlabel_grouptitlefont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(hoverlabel_grouptitlefont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(hoverlabel_grouptitlefont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(hoverlabel_grouptitlefont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(hoverlabel_grouptitlefont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(hoverlabel_grouptitlefont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(hoverlabel_grouptitlefont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(hoverlabel_grouptitlefont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- namelength
Code:fig.update_layout(hoverlabel_namelength=<VALUE>)
Type: integer greater than or equal to -1
Default:15
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 - 3` characters and add an ellipsis.
- align
- transition
Code:fig.update_layout(transition=dict(...))
Type: dict containing one or more of the keys listed below.Sets transition options used during Plotly.react updates.
- duration
Code:fig.update_layout(transition_duration=<VALUE>)
Type: number greater than or equal to 0
Default:500
The duration of the transition, in milliseconds. If equal to zero, updates are synchronous.
- easing
Code:fig.update_layout(transition_easing=<VALUE>)
Type: enumerated , one of ("linear"
|"quad"
|"cubic"
|"sin"
|"exp"
|"circle"
|"elastic"
|"back"
|"bounce"
|"linear-in"
|"quad-in"
|"cubic-in"
|"sin-in"
|"exp-in"
|"circle-in"
|"elastic-in"
|"back-in"
|"bounce-in"
|"linear-out"
|"quad-out"
|"cubic-out"
|"sin-out"
|"exp-out"
|"circle-out"
|"elastic-out"
|"back-out"
|"bounce-out"
|"linear-in-out"
|"quad-in-out"
|"cubic-in-out"
|"sin-in-out"
|"exp-in-out"
|"circle-in-out"
|"elastic-in-out"
|"back-in-out"
|"bounce-in-out"
)
Default:"cubic-in-out"
The easing function used for the transition
- ordering
Code:fig.update_layout(transition_ordering=<VALUE>)
Type: enumerated , one of ("layout first"
|"traces first"
)
Default:"layout first"
Determines whether the figure's layout or traces smoothly transitions during updates that make both traces and layout change.
- duration
- datarevision
Code:fig.update_layout(datarevision=<VALUE>)
Type: number or categorical coordinate stringIf provided, a changed value tells `Plotly.react` that one or more data arrays has changed. This way you can modify arrays in-place rather than making a complete new copy for an incremental change. If NOT provided, `Plotly.react` assumes that data arrays are being treated as immutable, thus any data array with a different identity from its predecessor contains new data.
- uirevision
Code:fig.update_layout(uirevision=<VALUE>)
Type: number or categorical coordinate stringUsed to allow user interactions with the plot to persist after `Plotly.react` calls that are unaware of these interactions. If `uirevision` is omitted, or if it is given and it changed from the previous `Plotly.react` call, the exact new figure is used. If `uirevision` is truthy and did NOT change, any attribute that has been affected by user interactions and did not receive a different value in the new figure will keep the interaction value. `layout.uirevision` attribute serves as the default for `uirevision` attributes in various sub-containers. For finer control you can set these sub-attributes directly. For example, if your app separately controls the data on the x and y axes you might set `xaxis.uirevision="time"` and `yaxis.uirevision="cost"`. Then if only the y data is changed, you can update `yaxis.uirevision="quantity"` and the y axis range will reset but the x axis range will retain any user-driven zoom.
- editrevision
Code:fig.update_layout(editrevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in `editable: True` configuration, other than trace names and axis titles. Defaults to `layout.uirevision`.
- selectionrevision
Code:fig.update_layout(selectionrevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in selected points from all traces.
- template
Code:fig.update_layout(template=<VALUE>)
Type: number or categorical coordinate stringDefault attributes to be applied to the plot. Templates can be created from existing plots using `Plotly.makeTemplate`, or created manually. They should be objects with format: `{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}` `layoutTemplate` and `traceTemplate` are objects matching the attribute structure of `layout` and a data trace. Trace templates are applied cyclically to traces of each type. Container arrays (eg `annotations`) have special handling: An object ending in `defaults` (eg `annotationdefaults`) is applied to each array item. But if an item has a `templateitemname` key we look in the template array for an item with matching `name` and apply that instead. If no matching `name` is found we mark the item invisible. Any named template item not referenced is appended to the end of the array, so you can use this for a watermark annotation or a logo image, for example. To omit one of these items on the plot, make an item with matching `templateitemname` and `visible: False`.
- meta
Code:fig.update_layout(meta=<VALUE>)
Type: number or categorical coordinate stringAssigns extra meta information that can be used in various `text` attributes. Attributes such as the graph, axis and colorbar `title.text`, annotation `text` `trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text all support `meta`. One can access `meta` fields using template strings: `%{meta[i]}` where `i` is the index of the `meta` item in question. `meta` can also be an object for example `{key: value}` which can be accessed %{meta[key]}.
- computed
Code:fig.update_layout(computed=<VALUE>)
Type: number or categorical coordinate stringPlaceholder for exporting automargin-impacting values namely `margin.t`, `margin.b`, `margin.l` and `margin.r` in "full-json" mode.
- grid
Code:fig.update_layout(grid=dict(...))
Type: dict containing one or more of the keys listed below.- columns
Code:fig.update_layout(grid_columns=<VALUE>)
Type: integer greater than or equal to 1The number of columns in the grid. If you provide a 2D `subplots` array, the length of its longest row is used as the default. If you give an `xaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots.
- domain
Code:fig.update_layout(grid_domain=dict(...))
Type: dict containing one or more of the keys listed below.- x
Code:fig.update_layout(grid_domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.
- y
Code:fig.update_layout(grid_domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.
- x
- pattern
Code:fig.update_layout(grid_pattern=<VALUE>)
Type: enumerated , one of ("independent"
|"coupled"
)
Default:"coupled"
If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`, we can generate defaults using consecutive axis IDs, in two ways: "coupled" gives one x axis per column and one y axis per row. "independent" uses a new xy pair for each cell, left-to-right across each row then iterating rows according to `roworder`.
- roworder
Code:fig.update_layout(grid_roworder=<VALUE>)
Type: enumerated , one of ("top to bottom"
|"bottom to top"
)
Default:"top to bottom"
Is the first row the top or the bottom? Note that columns are always enumerated from left to right.
- rows
Code:fig.update_layout(grid_rows=<VALUE>)
Type: integer greater than or equal to 1The number of rows in the grid. If you provide a 2D `subplots` array or a `yaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots.
- subplots
Code:fig.update_layout(grid_subplots=list(...))
Type: listUsed for freeform grids, where some axes may be shared across subplots but others are not. Each entry should be a cartesian subplot id, like "xy" or "x3y2", or "" to leave that cell empty. You may reuse x axes within the same column, and y axes within the same row. Non-cartesian subplots and traces that support `domain` can place themselves in this grid separately using the `gridcell` attribute.
- xaxes
Code:fig.update_layout(grid_xaxes=list(...))
Type: listUsed with `yaxes` when the x and y axes are shared across columns and rows. Each entry should be an x axis id like "x", "x2", etc., or "" to not put an x axis in that column. Entries other than "" must be unique. Ignored if `subplots` is present. If missing but `yaxes` is present, will generate consecutive IDs.
- xgap
Code:fig.update_layout(grid_xgap=<VALUE>)
Type: number between or equal to 0 and 1Horizontal space between grid cells, expressed as a fraction of the total width available to one cell. Defaults to 0.1 for coupled-axes grids and 0.2 for independent grids.
- xside
Code:fig.update_layout(grid_xside=<VALUE>)
Type: enumerated , one of ("bottom"
|"bottom plot"
|"top plot"
|"top"
)
Default:"bottom plot"
Sets where the x axis labels and titles go. "bottom" means the very bottom of the grid. "bottom plot" is the lowest plot that each x axis is used in. "top" and "top plot" are similar.
- yaxes
Code:fig.update_layout(grid_yaxes=list(...))
Type: listUsed with `yaxes` when the x and y axes are shared across columns and rows. Each entry should be an y axis id like "y", "y2", etc., or "" to not put a y axis in that row. Entries other than "" must be unique. Ignored if `subplots` is present. If missing but `xaxes` is present, will generate consecutive IDs.
- ygap
Code:fig.update_layout(grid_ygap=<VALUE>)
Type: number between or equal to 0 and 1Vertical space between grid cells, expressed as a fraction of the total height available to one cell. Defaults to 0.1 for coupled-axes grids and 0.3 for independent grids.
- yside
Code:fig.update_layout(grid_yside=<VALUE>)
Type: enumerated , one of ("left"
|"left plot"
|"right plot"
|"right"
)
Default:"left plot"
Sets where the y axis labels and titles go. "left" means the very left edge of the grid. "left plot" is the leftmost plot that each y axis is used in. "right" and "right plot" are similar.
- columns
- calendar
Code:fig.update_layout(calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the default calendar system to use for interpreting and displaying dates throughout the plot.
- minreducedheight
Code:fig.update_layout(minreducedheight=<VALUE>)
Type: number greater than or equal to 2
Default:64
Minimum height of the plot with margin.automargin applied (in px)
- minreducedwidth
Code:fig.update_layout(minreducedwidth=<VALUE>)
Type: number greater than or equal to 2
Default:64
Minimum width of the plot with margin.automargin applied (in px)
- xaxis
Code:fig.update_xaxes(...)
Type: dict containing one or more of the keys listed below.- anchor
Code:fig.update_xaxes(anchor=<VALUE>)
Type: enumerated , one of ("free"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the corresponding opposite-letter axis. If set to "free", this axis' position is determined by `position`.
- automargin
Code:fig.update_xaxes(automargin=<VALUE>)
Type: flaglist string. Any combination of"height"
,"width"
,"left"
,"right"
,"top"
,"bottom"
joined with a"+"
ORTrue
orFalse
.
Examples:"height"
,"width"
,"height+width"
,"height+width+left"
,"True"
Determines whether long tick labels automatically grow the figure margins.
- autorange
Code:fig.update_xaxes(autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_xaxes(autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_xaxes(autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_xaxes(autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_xaxes(autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_xaxes(autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_xaxes(autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autotickangles
Code:fig.update_xaxes(autotickangles=list(...))
Type: list
Default:[0, 30, 90]
When `tickangle` is set to "auto", it will be set to the first angle in this array that is large enough to prevent label overlap.
- autotypenumbers
Code:fig.update_xaxes(autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- calendar
Code:fig.update_xaxes(calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_xaxes(categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_xaxes(categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_xaxes(color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- constrain
Code:fig.update_xaxes(constrain=<VALUE>)
Type: enumerated , one of ("range"
|"domain"
)If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range", or by decreasing the "domain". Default is "domain" for axes containing image traces, "range" otherwise.
- constraintoward
Code:fig.update_xaxes(constraintoward=<VALUE>)
Type: enumerated , one of ("left"
|"center"
|"right"
|"top"
|"middle"
|"bottom"
)If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" for x axes, and "top", "middle" (default), and "bottom" for y axes.
- dividercolor
Code:fig.update_xaxes(dividercolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the dividers Only has an effect on "multicategory" axes.
- dividerwidth
Code:fig.update_xaxes(dividerwidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the dividers Only has an effect on "multicategory" axes.
- domain
Code:fig.update_xaxes(domain=list(...))
Type: list
Default:[0, 1]
Sets the domain of this axis (in plot fraction).
- dtick
Code:fig.update_xaxes(dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_xaxes(exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- fixedrange
Code:fig.update_xaxes(fixedrange=<VALUE>)
Type: booleanDetermines whether or not this axis is zoom-able. If True, then zoom is disabled.
- gridcolor
Code:fig.update_xaxes(gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_xaxes(griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_xaxes(gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_xaxes(hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- insiderange
Code:fig.update_xaxes(insiderange=list(...))
Type: listCould be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has "inside". Not implemented for axes with `type` "log". This would be ignored when `range` is provided.
- labelalias
Code:fig.update_xaxes(labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_xaxes(layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_xaxes(linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_xaxes(linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- matches
Code:fig.update_xaxes(matches=<VALUE>)
Type: enumerated , one of ("/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set to another axis id (e.g. `x2`, `y`), the range of this axis will match the range of the corresponding axis in data-coordinates space. Moreover, matching axes share auto-range values, category lists and histogram auto-bins. Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint is currently forbidden. Moreover, note that matching axes must have the same `type`.
- maxallowed
Code:fig.update_xaxes(maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_xaxes(minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_xaxes(minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- minor
Code:fig.update_xaxes(minor=dict(...))
Type: dict containing one or more of the keys listed below.- dtick
Code:fig.update_xaxes(minor_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- gridcolor
Code:fig.update_xaxes(minor_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_xaxes(minor_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_xaxes(minor_gridwidth=<VALUE>)
Type: number greater than or equal to 0Sets the width (in px) of the grid lines.
- nticks
Code:fig.update_xaxes(minor_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:5
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- showgrid
Code:fig.update_xaxes(minor_showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- tick0
Code:fig.update_xaxes(minor_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickcolor
Code:fig.update_xaxes(minor_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- ticklen
Code:fig.update_xaxes(minor_ticklen=<VALUE>)
Type: number greater than or equal to 0Sets the tick length (in px).
- tickmode
Code:fig.update_xaxes(minor_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- ticks
Code:fig.update_xaxes(minor_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- tickvals
Code:fig.update_xaxes(minor_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_xaxes(minor_tickwidth=<VALUE>)
Type: number greater than or equal to 0Sets the tick width (in px).
- dtick
- mirror
Code:fig.update_xaxes(mirror=<VALUE>)
Type: enumerated , one of (True
|"ticks"
|False
|"all"
|"allticks"
)Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If "True", the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If "False", mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
- nticks
Code:fig.update_xaxes(nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- overlaying
Code:fig.update_xaxes(overlaying=<VALUE>)
Type: enumerated , one of ("free"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If "False", this axis does not overlay any same-letter axes. In this case, for axes with overlapping domains only the highest-numbered axis will be visible.
- position
Code:fig.update_xaxes(position=<VALUE>)
Type: number between or equal to 0 and 1
Default:0
Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free".
- range
Code:fig.update_xaxes(range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangebreaks
Code:fig.update_xaxes(rangebreaks=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- bounds
Parent:layout.xaxis.rangebreaks[]
Type: listSets the lower and upper bounds of this axis rangebreak. Can be used with `pattern`.
- dvalue
Parent:layout.xaxis.rangebreaks[]
Type: number greater than or equal to 0
Default:86400000
Sets the size of each `values` item. The default is one day in milliseconds.
- enabled
Parent:layout.xaxis.rangebreaks[]
Type: boolean
Default:True
Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for "date" axis type.
- name
Parent:layout.xaxis.rangebreaks[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- pattern
Parent:layout.xaxis.rangebreaks[]
Type: enumerated , one of ("day of week"
|"hour"
|""
)Determines a pattern on the time line that generates breaks. If "day of week" - days of the week in English e.g. 'Sunday' or `sun` (matching is case-insensitive and considers only the first three characters), as well as Sunday-based integers between 0 and 6. If "hour" - hour (24-hour clock) as decimal numbers between 0 and 24. for more info. Examples: - { pattern: 'day of week', bounds: [6, 1] } or simply { bounds: ['sat', 'mon'] } breaks from Saturday to Monday (i.e. skips the weekends). - { pattern: 'hour', bounds: [17, 8] } breaks from 5pm to 8am (i.e. skips non-work hours).
- templateitemname
Parent:layout.xaxis.rangebreaks[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- values
Parent:layout.xaxis.rangebreaks[]
Type: listSets the coordinate values corresponding to the rangebreaks. An alternative to `bounds`. Use `dvalue` to set the size of the values along the axis.
- bounds
- rangemode
Code:fig.update_xaxes(rangemode=<VALUE>)
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes.
- rangeselector
Code:fig.update_xaxes(rangeselector=dict(...))
Type: dict containing one or more of the keys listed below.- activecolor
Code:fig.update_xaxes(rangeselector_activecolor=<VALUE>)
Type: colorSets the background color of the active range selector button.
- bgcolor
Code:fig.update_xaxes(rangeselector_bgcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the background color of the range selector buttons.
- bordercolor
Code:fig.update_xaxes(rangeselector_bordercolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the border enclosing the range selector.
- borderwidth
Code:fig.update_xaxes(rangeselector_borderwidth=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets the width (in px) of the border enclosing the range selector.
- buttons
Code:fig.update_xaxes(rangeselector_buttons=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- count
Parent:layout.xaxis.rangeselector.buttons[]
Type: number greater than or equal to 0
Default:1
Sets the number of steps to take to update the range. Use with `step` to specify the update interval.
- label
Parent:layout.xaxis.rangeselector.buttons[]
Type: stringSets the text label to appear on the button.
- name
Parent:layout.xaxis.rangeselector.buttons[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- step
Parent:layout.xaxis.rangeselector.buttons[]
Type: enumerated , one of ("month"
|"year"
|"day"
|"hour"
|"minute"
|"second"
|"all"
)
Default:"month"
The unit of measurement that the `count` value will set the range by.
- stepmode
Parent:layout.xaxis.rangeselector.buttons[]
Type: enumerated , one of ("backward"
|"todate"
)
Default:"backward"
Sets the range update mode. If "backward", the range update shifts the start of range back "count" times "step" milliseconds. If "todate", the range update shifts the start of range back to the first timestamp from "count" times "step" milliseconds back. For example, with `step` set to "year" and `count` set to "1" the range update shifts the start of the range back to January 01 of the current year. Month and year "todate" are currently available only for the built-in (Gregorian) calendar.
- templateitemname
Parent:layout.xaxis.rangeselector.buttons[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- visible
Parent:layout.xaxis.rangeselector.buttons[]
Type: boolean
Default:True
Determines whether or not this button is visible.
- count
- font
Code:fig.update_xaxes(rangeselector_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the font of the range selector button text.
- color
Code:fig.update_xaxes(rangeselector_font_color=<VALUE>)
Type: color - family
Code:fig.update_xaxes(rangeselector_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_xaxes(rangeselector_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_xaxes(rangeselector_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_xaxes(rangeselector_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_xaxes(rangeselector_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_xaxes(rangeselector_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_xaxes(rangeselector_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_xaxes(rangeselector_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- visible
Code:fig.update_xaxes(rangeselector_visible=<VALUE>)
Type: booleanDetermines whether or not this range selector is visible. Note that range selectors are only available for x axes of `type` set to or auto-typed to "date".
- x
Code:fig.update_xaxes(rangeselector_x=<VALUE>)
Type: number between or equal to -2 and 3Sets the x position (in normalized coordinates) of the range selector.
- xanchor
Code:fig.update_xaxes(rangeselector_xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"left"
Sets the range selector's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector.
- y
Code:fig.update_xaxes(rangeselector_y=<VALUE>)
Type: number between or equal to -2 and 3Sets the y position (in normalized coordinates) of the range selector.
- yanchor
Code:fig.update_xaxes(rangeselector_yanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"bottom"
Sets the range selector's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector.
- activecolor
- rangeslider
Code:fig.update_xaxes(rangeslider=dict(...))
Type: dict containing one or more of the keys listed below.- autorange
Code:fig.update_xaxes(rangeslider_autorange=<VALUE>)
Type: boolean
Default:True
Determines whether or not the range slider range is computed in relation to the input data. If `range` is provided, then `autorange` is set to "False".
- bgcolor
Code:fig.update_xaxes(rangeslider_bgcolor=<VALUE>)
Type: color
Default:"#fff"
Sets the background color of the range slider.
- bordercolor
Code:fig.update_xaxes(rangeslider_bordercolor=<VALUE>)
Type: color
Default:"#444"
Sets the border color of the range slider.
- borderwidth
Code:fig.update_xaxes(rangeslider_borderwidth=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Sets the border width of the range slider.
- range
Code:fig.update_xaxes(rangeslider_range=list(...))
Type: listSets the range of the range slider. If not set, defaults to the full xaxis range. If the axis `type` is "log", then you must take the log of your desired range. If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
- thickness
Code:fig.update_xaxes(rangeslider_thickness=<VALUE>)
Type: number between or equal to 0 and 1
Default:0.15
The height of the range slider as a fraction of the total plot area height.
- visible
Code:fig.update_xaxes(rangeslider_visible=<VALUE>)
Type: boolean
Default:True
Determines whether or not the range slider will be visible. If visible, perpendicular axes will be set to `fixedrange`
- yaxis
Code:fig.update_xaxes(rangeslider_yaxis=dict(...))
Type: dict containing one or more of the keys listed below.- range
Code:fig.update_xaxes(rangeslider_yaxis_range=list(...))
Type: listSets the range of this axis for the rangeslider.
- rangemode
Code:fig.update_xaxes(rangeslider_yaxis_rangemode=<VALUE>)
Type: enumerated , one of ("auto"
|"fixed"
|"match"
)
Default:"match"
Determines whether or not the range of this axis in the rangeslider use the same value than in the main plot when zooming in/out. If "auto", the autorange will be used. If "fixed", the `range` is used. If "match", the current range of the corresponding y-axis on the main subplot is used.
- range
- autorange
- scaleanchor
Code:fig.update_xaxes(scaleanchor=<VALUE>)
Type: enumerated , one of ("/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
|False
)If set to another axis id (e.g. `x2`, `y`), the range of this axis changes together with the range of the corresponding axis such that the scale of pixels per unit is in a constant ratio. Both axes are still zoomable, but when you zoom one, the other will zoom the same amount, keeping a fixed midpoint. `constrain` and `constraintoward` determine how we enforce the constraint. You can chain these, ie `yaxis: {scaleanchor: "x"}, xaxis2: {scaleanchor: "y"}` but you can only link axes of the same `type`. The linked axis can have the opposite letter (to constrain the aspect ratio) or the same letter (to match scales across subplots). Loops (`yaxis: {scaleanchor: "x"}, xaxis: {scaleanchor: "y"}` or longer) are redundant and the last constraint encountered will be ignored to avoid possible inconsistent constraints via `scaleratio`. Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint is currently forbidden. Setting `False` allows to remove a default constraint (occasionally, you may need to prevent a default `scaleanchor` constraint from being applied, eg. when having an image trace `yaxis: {scaleanchor: "x"}` is set automatically in order for pixels to be rendered as squares, setting `yaxis: {scaleanchor: False}` allows to remove the constraint).
- scaleratio
Code:fig.update_xaxes(scaleratio=<VALUE>)
Type: number greater than or equal to 0
Default:1
If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal.
- separatethousands
Code:fig.update_xaxes(separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showdividers
Code:fig.update_xaxes(showdividers=<VALUE>)
Type: boolean
Default:True
Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on "multicategory" axes.
- showexponent
Code:fig.update_xaxes(showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_xaxes(showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_xaxes(showline=<VALUE>)
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showspikes
Code:fig.update_xaxes(showspikes=<VALUE>)
Type: booleanDetermines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest
- showticklabels
Code:fig.update_xaxes(showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_xaxes(showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_xaxes(showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- side
Code:fig.update_xaxes(side=<VALUE>)
Type: enumerated , one of ("top"
|"bottom"
|"left"
|"right"
)Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.
- spikecolor
Code:fig.update_xaxes(spikecolor=<VALUE>)
Type: colorSets the spike color. If undefined, will use the series color
- spikedash
Code:fig.update_xaxes(spikedash=<VALUE>)
Type: string
Default:"dash"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- spikemode
Code:fig.update_xaxes(spikemode=<VALUE>)
Type: flaglist string. Any combination of"toaxis"
,"across"
,"marker"
joined with a"+"
Examples:"toaxis"
,"across"
,"toaxis+across"
,"toaxis+across+marker"
Default:"toaxis"
Determines the drawing mode for the spike line If "toaxis", the line is drawn from the data point to the axis the series is plotted on. If "across", the line is drawn across the entire plot area, and supercedes "toaxis". If "marker", then a marker dot is drawn on the axis the series is plotted on
- spikesnap
Code:fig.update_xaxes(spikesnap=<VALUE>)
Type: enumerated , one of ("data"
|"cursor"
|"hovered data"
)
Default:"hovered data"
Determines whether spikelines are stuck to the cursor or to the closest datapoints.
- spikethickness
Code:fig.update_xaxes(spikethickness=<VALUE>)
Type: number
Default:3
Sets the width (in px) of the zero line.
- tick0
Code:fig.update_xaxes(tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_xaxes(tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_xaxes(tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_xaxes(tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_xaxes(tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_xaxes(tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_xaxes(tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_xaxes(tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_xaxes(tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_xaxes(tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_xaxes(tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_xaxes(tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_xaxes(tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_xaxes(tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_xaxes(tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.xaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.xaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.xaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.xaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.xaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelindex
Code:fig.update_xaxes(ticklabelindex=<VALUE>)
Type: integer or array of integersOnly for axes with `type` "date" or "linear". Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `ticklabelindex` -1. This is useful for date axes with `ticklabelmode` "period" if you want to label the period that ends with each major tick instead of the period that begins there.
- ticklabelmode
Code:fig.update_xaxes(ticklabelmode=<VALUE>)
Type: enumerated , one of ("instant"
|"period"
)
Default:"instant"
Determines where tick labels are drawn with respect to their corresponding ticks and grid lines. Only has an effect for axes of `type` "date" When set to "period", tick labels are drawn in the middle of the period between ticks.
- ticklabeloverflow
Code:fig.update_xaxes(ticklabeloverflow=<VALUE>)
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". Otherwise on "category" and "multicategory" axes the default is "allow". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_xaxes(ticklabelposition=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn with respect to the axis Please note that top or bottom has no effect on x axes or when `ticklabelmode` is set to "period". Similarly left or right has no effect on y axes or when `ticklabelmode` is set to "period". Has no effect on "multicategory" axes or when `tickson` is set to "boundaries". When used on axes linked by `matches` or `scaleanchor`, no extra padding for inside labels would be added by autorange, so that the scales could match.
- ticklabelshift
Code:fig.update_xaxes(ticklabelshift=<VALUE>)
Type: integer
Default:0
Shifts the tick labels by the specified number of pixels in parallel to the axis. Positive values move the labels in the positive direction of the axis.
- ticklabelstandoff
Code:fig.update_xaxes(ticklabelstandoff=<VALUE>)
Type: integer
Default:0
Sets the standoff distance (in px) between the axis tick labels and their default position. A positive `ticklabelstandoff` moves the labels farther away from the plot area if `ticklabelposition` is "outside", and deeper into the plot area if `ticklabelposition` is "inside". A negative `ticklabelstandoff` works in the opposite direction, moving outside ticks towards the plot area and inside ticks towards the outside. If the negative value is large enough, inside ticks can even end up outside and vice versa.
- ticklabelstep
Code:fig.update_xaxes(ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_xaxes(ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_xaxes(tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
|"sync"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided). If "sync", the number of ticks will sync with the overlayed axis set by `overlaying` property.
- tickprefix
Code:fig.update_xaxes(tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_xaxes(ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- tickson
Code:fig.update_xaxes(tickson=<VALUE>)
Type: enumerated , one of ("labels"
|"boundaries"
)
Default:"labels"
Determines where ticks and grid lines are drawn with respect to their corresponding tick labels. Only has an effect for axes of `type` "category" or "multicategory". When set to "boundaries", ticks and grid lines are drawn half a category to the left/bottom of labels.
- ticksuffix
Code:fig.update_xaxes(ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_xaxes(ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_xaxes(tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_xaxes(tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_xaxes(title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_xaxes(title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_xaxes(title_font_color=<VALUE>)
Type: color - family
Code:fig.update_xaxes(title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_xaxes(title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_xaxes(title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_xaxes(title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_xaxes(title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_xaxes(title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_xaxes(title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_xaxes(title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- standoff
Code:fig.update_xaxes(title_standoff=<VALUE>)
Type: number greater than or equal to 0Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance.
- text
Code:fig.update_xaxes(title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_xaxes(type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
|"multicategory"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- uirevision
Code:fig.update_xaxes(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `range`, `autorange`, and `title` if in `editable: True` configuration. Defaults to `layout.uirevision`.
- visible
Code:fig.update_xaxes(visible=<VALUE>)
Type: booleanA single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- zeroline
Code:fig.update_xaxes(zeroline=<VALUE>)
Type: booleanDetermines whether or not a line is drawn at along the 0 value of this axis. If "True", the zero line is drawn on top of the grid lines.
- zerolinecolor
Code:fig.update_xaxes(zerolinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the line color of the zero line.
- zerolinewidth
Code:fig.update_xaxes(zerolinewidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the zero line.
- anchor
- yaxis
Code:fig.update_yaxes(...)
Type: dict containing one or more of the keys listed below.- anchor
Code:fig.update_yaxes(anchor=<VALUE>)
Type: enumerated , one of ("free"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the corresponding opposite-letter axis. If set to "free", this axis' position is determined by `position`.
- automargin
Code:fig.update_yaxes(automargin=<VALUE>)
Type: flaglist string. Any combination of"height"
,"width"
,"left"
,"right"
,"top"
,"bottom"
joined with a"+"
ORTrue
orFalse
.
Examples:"height"
,"width"
,"height+width"
,"height+width+left"
,"True"
Determines whether long tick labels automatically grow the figure margins.
- autorange
Code:fig.update_yaxes(autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_yaxes(autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_yaxes(autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_yaxes(autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_yaxes(autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_yaxes(autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_yaxes(autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autoshift
Code:fig.update_yaxes(autoshift=<VALUE>)
Type: booleanAutomatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to True. Only has an effect if `anchor` is set to "free".
- autotickangles
Code:fig.update_yaxes(autotickangles=list(...))
Type: list
Default:[0, 30, 90]
When `tickangle` is set to "auto", it will be set to the first angle in this array that is large enough to prevent label overlap.
- autotypenumbers
Code:fig.update_yaxes(autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- calendar
Code:fig.update_yaxes(calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_yaxes(categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_yaxes(categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_yaxes(color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- constrain
Code:fig.update_yaxes(constrain=<VALUE>)
Type: enumerated , one of ("range"
|"domain"
)If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range", or by decreasing the "domain". Default is "domain" for axes containing image traces, "range" otherwise.
- constraintoward
Code:fig.update_yaxes(constraintoward=<VALUE>)
Type: enumerated , one of ("left"
|"center"
|"right"
|"top"
|"middle"
|"bottom"
)If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" for x axes, and "top", "middle" (default), and "bottom" for y axes.
- dividercolor
Code:fig.update_yaxes(dividercolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the dividers Only has an effect on "multicategory" axes.
- dividerwidth
Code:fig.update_yaxes(dividerwidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the dividers Only has an effect on "multicategory" axes.
- domain
Code:fig.update_yaxes(domain=list(...))
Type: list
Default:[0, 1]
Sets the domain of this axis (in plot fraction).
- dtick
Code:fig.update_yaxes(dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_yaxes(exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- fixedrange
Code:fig.update_yaxes(fixedrange=<VALUE>)
Type: booleanDetermines whether or not this axis is zoom-able. If True, then zoom is disabled.
- gridcolor
Code:fig.update_yaxes(gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_yaxes(griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_yaxes(gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_yaxes(hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- insiderange
Code:fig.update_yaxes(insiderange=list(...))
Type: listCould be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has "inside". Not implemented for axes with `type` "log". This would be ignored when `range` is provided.
- labelalias
Code:fig.update_yaxes(labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_yaxes(layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_yaxes(linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_yaxes(linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- matches
Code:fig.update_yaxes(matches=<VALUE>)
Type: enumerated , one of ("/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set to another axis id (e.g. `x2`, `y`), the range of this axis will match the range of the corresponding axis in data-coordinates space. Moreover, matching axes share auto-range values, category lists and histogram auto-bins. Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint is currently forbidden. Moreover, note that matching axes must have the same `type`.
- maxallowed
Code:fig.update_yaxes(maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_yaxes(minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_yaxes(minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- minor
Code:fig.update_yaxes(minor=dict(...))
Type: dict containing one or more of the keys listed below.- dtick
Code:fig.update_yaxes(minor_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- gridcolor
Code:fig.update_yaxes(minor_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_yaxes(minor_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_yaxes(minor_gridwidth=<VALUE>)
Type: number greater than or equal to 0Sets the width (in px) of the grid lines.
- nticks
Code:fig.update_yaxes(minor_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:5
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- showgrid
Code:fig.update_yaxes(minor_showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- tick0
Code:fig.update_yaxes(minor_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickcolor
Code:fig.update_yaxes(minor_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- ticklen
Code:fig.update_yaxes(minor_ticklen=<VALUE>)
Type: number greater than or equal to 0Sets the tick length (in px).
- tickmode
Code:fig.update_yaxes(minor_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- ticks
Code:fig.update_yaxes(minor_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- tickvals
Code:fig.update_yaxes(minor_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_yaxes(minor_tickwidth=<VALUE>)
Type: number greater than or equal to 0Sets the tick width (in px).
- dtick
- mirror
Code:fig.update_yaxes(mirror=<VALUE>)
Type: enumerated , one of (True
|"ticks"
|False
|"all"
|"allticks"
)Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If "True", the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If "False", mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
- nticks
Code:fig.update_yaxes(nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- overlaying
Code:fig.update_yaxes(overlaying=<VALUE>)
Type: enumerated , one of ("free"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If "False", this axis does not overlay any same-letter axes. In this case, for axes with overlapping domains only the highest-numbered axis will be visible.
- position
Code:fig.update_yaxes(position=<VALUE>)
Type: number between or equal to 0 and 1
Default:0
Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free".
- range
Code:fig.update_yaxes(range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangebreaks
Code:fig.update_yaxes(rangebreaks=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- bounds
Parent:layout.yaxis.rangebreaks[]
Type: listSets the lower and upper bounds of this axis rangebreak. Can be used with `pattern`.
- dvalue
Parent:layout.yaxis.rangebreaks[]
Type: number greater than or equal to 0
Default:86400000
Sets the size of each `values` item. The default is one day in milliseconds.
- enabled
Parent:layout.yaxis.rangebreaks[]
Type: boolean
Default:True
Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for "date" axis type.
- name
Parent:layout.yaxis.rangebreaks[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- pattern
Parent:layout.yaxis.rangebreaks[]
Type: enumerated , one of ("day of week"
|"hour"
|""
)Determines a pattern on the time line that generates breaks. If "day of week" - days of the week in English e.g. 'Sunday' or `sun` (matching is case-insensitive and considers only the first three characters), as well as Sunday-based integers between 0 and 6. If "hour" - hour (24-hour clock) as decimal numbers between 0 and 24. for more info. Examples: - { pattern: 'day of week', bounds: [6, 1] } or simply { bounds: ['sat', 'mon'] } breaks from Saturday to Monday (i.e. skips the weekends). - { pattern: 'hour', bounds: [17, 8] } breaks from 5pm to 8am (i.e. skips non-work hours).
- templateitemname
Parent:layout.yaxis.rangebreaks[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- values
Parent:layout.yaxis.rangebreaks[]
Type: listSets the coordinate values corresponding to the rangebreaks. An alternative to `bounds`. Use `dvalue` to set the size of the values along the axis.
- bounds
- rangemode
Code:fig.update_yaxes(rangemode=<VALUE>)
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes.
- scaleanchor
Code:fig.update_yaxes(scaleanchor=<VALUE>)
Type: enumerated , one of ("/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
|False
)If set to another axis id (e.g. `x2`, `y`), the range of this axis changes together with the range of the corresponding axis such that the scale of pixels per unit is in a constant ratio. Both axes are still zoomable, but when you zoom one, the other will zoom the same amount, keeping a fixed midpoint. `constrain` and `constraintoward` determine how we enforce the constraint. You can chain these, ie `yaxis: {scaleanchor: "x"}, xaxis2: {scaleanchor: "y"}` but you can only link axes of the same `type`. The linked axis can have the opposite letter (to constrain the aspect ratio) or the same letter (to match scales across subplots). Loops (`yaxis: {scaleanchor: "x"}, xaxis: {scaleanchor: "y"}` or longer) are redundant and the last constraint encountered will be ignored to avoid possible inconsistent constraints via `scaleratio`. Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint is currently forbidden. Setting `False` allows to remove a default constraint (occasionally, you may need to prevent a default `scaleanchor` constraint from being applied, eg. when having an image trace `yaxis: {scaleanchor: "x"}` is set automatically in order for pixels to be rendered as squares, setting `yaxis: {scaleanchor: False}` allows to remove the constraint).
- scaleratio
Code:fig.update_yaxes(scaleratio=<VALUE>)
Type: number greater than or equal to 0
Default:1
If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal.
- separatethousands
Code:fig.update_yaxes(separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- shift
Code:fig.update_yaxes(shift=<VALUE>)
Type: numberMoves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to True, then this defaults to a padding of -3 if `side` is set to "left". and defaults to +3 if `side` is set to "right". Defaults to 0 if `autoshift` is set to False. Only has an effect if `anchor` is set to "free".
- showdividers
Code:fig.update_yaxes(showdividers=<VALUE>)
Type: boolean
Default:True
Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on "multicategory" axes.
- showexponent
Code:fig.update_yaxes(showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_yaxes(showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_yaxes(showline=<VALUE>)
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showspikes
Code:fig.update_yaxes(showspikes=<VALUE>)
Type: booleanDetermines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest
- showticklabels
Code:fig.update_yaxes(showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_yaxes(showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_yaxes(showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- side
Code:fig.update_yaxes(side=<VALUE>)
Type: enumerated , one of ("top"
|"bottom"
|"left"
|"right"
)Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.
- spikecolor
Code:fig.update_yaxes(spikecolor=<VALUE>)
Type: colorSets the spike color. If undefined, will use the series color
- spikedash
Code:fig.update_yaxes(spikedash=<VALUE>)
Type: string
Default:"dash"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- spikemode
Code:fig.update_yaxes(spikemode=<VALUE>)
Type: flaglist string. Any combination of"toaxis"
,"across"
,"marker"
joined with a"+"
Examples:"toaxis"
,"across"
,"toaxis+across"
,"toaxis+across+marker"
Default:"toaxis"
Determines the drawing mode for the spike line If "toaxis", the line is drawn from the data point to the axis the series is plotted on. If "across", the line is drawn across the entire plot area, and supercedes "toaxis". If "marker", then a marker dot is drawn on the axis the series is plotted on
- spikesnap
Code:fig.update_yaxes(spikesnap=<VALUE>)
Type: enumerated , one of ("data"
|"cursor"
|"hovered data"
)
Default:"hovered data"
Determines whether spikelines are stuck to the cursor or to the closest datapoints.
- spikethickness
Code:fig.update_yaxes(spikethickness=<VALUE>)
Type: number
Default:3
Sets the width (in px) of the zero line.
- tick0
Code:fig.update_yaxes(tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_yaxes(tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_yaxes(tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_yaxes(tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_yaxes(tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_yaxes(tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_yaxes(tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_yaxes(tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_yaxes(tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_yaxes(tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_yaxes(tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_yaxes(tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_yaxes(tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_yaxes(tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_yaxes(tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.yaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.yaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.yaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.yaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.yaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelindex
Code:fig.update_yaxes(ticklabelindex=<VALUE>)
Type: integer or array of integersOnly for axes with `type` "date" or "linear". Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `ticklabelindex` -1. This is useful for date axes with `ticklabelmode` "period" if you want to label the period that ends with each major tick instead of the period that begins there.
- ticklabelmode
Code:fig.update_yaxes(ticklabelmode=<VALUE>)
Type: enumerated , one of ("instant"
|"period"
)
Default:"instant"
Determines where tick labels are drawn with respect to their corresponding ticks and grid lines. Only has an effect for axes of `type` "date" When set to "period", tick labels are drawn in the middle of the period between ticks.
- ticklabeloverflow
Code:fig.update_yaxes(ticklabeloverflow=<VALUE>)
Type: enumerated , one of ("allow"
|"hide past div"
|"hide past domain"
)Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". Otherwise on "category" and "multicategory" axes the default is "allow". In other cases the default is "hide past div".
- ticklabelposition
Code:fig.update_yaxes(ticklabelposition=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|"outside top"
|"inside top"
|"outside left"
|"inside left"
|"outside right"
|"inside right"
|"outside bottom"
|"inside bottom"
)
Default:"outside"
Determines where tick labels are drawn with respect to the axis Please note that top or bottom has no effect on x axes or when `ticklabelmode` is set to "period". Similarly left or right has no effect on y axes or when `ticklabelmode` is set to "period". Has no effect on "multicategory" axes or when `tickson` is set to "boundaries". When used on axes linked by `matches` or `scaleanchor`, no extra padding for inside labels would be added by autorange, so that the scales could match.
- ticklabelshift
Code:fig.update_yaxes(ticklabelshift=<VALUE>)
Type: integer
Default:0
Shifts the tick labels by the specified number of pixels in parallel to the axis. Positive values move the labels in the positive direction of the axis.
- ticklabelstandoff
Code:fig.update_yaxes(ticklabelstandoff=<VALUE>)
Type: integer
Default:0
Sets the standoff distance (in px) between the axis tick labels and their default position. A positive `ticklabelstandoff` moves the labels farther away from the plot area if `ticklabelposition` is "outside", and deeper into the plot area if `ticklabelposition` is "inside". A negative `ticklabelstandoff` works in the opposite direction, moving outside ticks towards the plot area and inside ticks towards the outside. If the negative value is large enough, inside ticks can even end up outside and vice versa.
- ticklabelstep
Code:fig.update_yaxes(ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_yaxes(ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_yaxes(tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
|"sync"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided). If "sync", the number of ticks will sync with the overlayed axis set by `overlaying` property.
- tickprefix
Code:fig.update_yaxes(tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_yaxes(ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- tickson
Code:fig.update_yaxes(tickson=<VALUE>)
Type: enumerated , one of ("labels"
|"boundaries"
)
Default:"labels"
Determines where ticks and grid lines are drawn with respect to their corresponding tick labels. Only has an effect for axes of `type` "category" or "multicategory". When set to "boundaries", ticks and grid lines are drawn half a category to the left/bottom of labels.
- ticksuffix
Code:fig.update_yaxes(ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_yaxes(ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_yaxes(tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_yaxes(tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_yaxes(title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_yaxes(title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_yaxes(title_font_color=<VALUE>)
Type: color - family
Code:fig.update_yaxes(title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_yaxes(title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_yaxes(title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_yaxes(title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_yaxes(title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_yaxes(title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_yaxes(title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_yaxes(title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- standoff
Code:fig.update_yaxes(title_standoff=<VALUE>)
Type: number greater than or equal to 0Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance.
- text
Code:fig.update_yaxes(title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_yaxes(type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
|"multicategory"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- uirevision
Code:fig.update_yaxes(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `range`, `autorange`, and `title` if in `editable: True` configuration. Defaults to `layout.uirevision`.
- visible
Code:fig.update_yaxes(visible=<VALUE>)
Type: booleanA single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- zeroline
Code:fig.update_yaxes(zeroline=<VALUE>)
Type: booleanDetermines whether or not a line is drawn at along the 0 value of this axis. If "True", the zero line is drawn on top of the grid lines.
- zerolinecolor
Code:fig.update_yaxes(zerolinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the line color of the zero line.
- zerolinewidth
Code:fig.update_yaxes(zerolinewidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the zero line.
- anchor
- ternary
Code:fig.update_ternaries(...)
Type: dict containing one or more of the keys listed below.- aaxis
Code:fig.update_ternaries(aaxis=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_ternaries(aaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_ternaries(aaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_ternaries(aaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_ternaries(aaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_ternaries(aaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_ternaries(aaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_ternaries(aaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_ternaries(aaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_ternaries(aaxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_ternaries(aaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_ternaries(aaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- min
Code:fig.update_ternaries(aaxis_min=<VALUE>)
Type: number greater than or equal to 0
Default:0
The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero.
- minexponent
Code:fig.update_ternaries(aaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_ternaries(aaxis_nticks=<VALUE>)
Type: integer greater than or equal to 1
Default:6
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- separatethousands
Code:fig.update_ternaries(aaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_ternaries(aaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_ternaries(aaxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_ternaries(aaxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_ternaries(aaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_ternaries(aaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_ternaries(aaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- tick0
Code:fig.update_ternaries(aaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_ternaries(aaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_ternaries(aaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_ternaries(aaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_ternaries(aaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(aaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(aaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(aaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(aaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(aaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(aaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(aaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(aaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_ternaries(aaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_ternaries(aaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.ternary.aaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.ternary.aaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.ternary.aaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.ternary.aaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.ternary.aaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_ternaries(aaxis_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_ternaries(aaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_ternaries(aaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_ternaries(aaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_ternaries(aaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_ternaries(aaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_ternaries(aaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_ternaries(aaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_ternaries(aaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_ternaries(aaxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_ternaries(aaxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_ternaries(aaxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(aaxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(aaxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(aaxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(aaxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(aaxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(aaxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(aaxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(aaxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_ternaries(aaxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- uirevision
Code:fig.update_ternaries(aaxis_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `min`, and `title` if in `editable: True` configuration. Defaults to `ternary<N>.uirevision`.
- color
- baxis
Code:fig.update_ternaries(baxis=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_ternaries(baxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_ternaries(baxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_ternaries(baxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_ternaries(baxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_ternaries(baxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_ternaries(baxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_ternaries(baxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_ternaries(baxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_ternaries(baxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_ternaries(baxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_ternaries(baxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- min
Code:fig.update_ternaries(baxis_min=<VALUE>)
Type: number greater than or equal to 0
Default:0
The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero.
- minexponent
Code:fig.update_ternaries(baxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_ternaries(baxis_nticks=<VALUE>)
Type: integer greater than or equal to 1
Default:6
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- separatethousands
Code:fig.update_ternaries(baxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_ternaries(baxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_ternaries(baxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_ternaries(baxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_ternaries(baxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_ternaries(baxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_ternaries(baxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- tick0
Code:fig.update_ternaries(baxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_ternaries(baxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_ternaries(baxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_ternaries(baxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_ternaries(baxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(baxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(baxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(baxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(baxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(baxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(baxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(baxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(baxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_ternaries(baxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_ternaries(baxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.ternary.baxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.ternary.baxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.ternary.baxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.ternary.baxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.ternary.baxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_ternaries(baxis_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_ternaries(baxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_ternaries(baxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_ternaries(baxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_ternaries(baxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_ternaries(baxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_ternaries(baxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_ternaries(baxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_ternaries(baxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_ternaries(baxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_ternaries(baxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_ternaries(baxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(baxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(baxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(baxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(baxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(baxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(baxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(baxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(baxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_ternaries(baxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- uirevision
Code:fig.update_ternaries(baxis_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `min`, and `title` if in `editable: True` configuration. Defaults to `ternary<N>.uirevision`.
- color
- bgcolor
Code:fig.update_ternaries(bgcolor=<VALUE>)
Type: color
Default:"#fff"
Set the background color of the subplot
- caxis
Code:fig.update_ternaries(caxis=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_ternaries(caxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_ternaries(caxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_ternaries(caxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_ternaries(caxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_ternaries(caxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_ternaries(caxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_ternaries(caxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_ternaries(caxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_ternaries(caxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_ternaries(caxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_ternaries(caxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- min
Code:fig.update_ternaries(caxis_min=<VALUE>)
Type: number greater than or equal to 0
Default:0
The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero.
- minexponent
Code:fig.update_ternaries(caxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_ternaries(caxis_nticks=<VALUE>)
Type: integer greater than or equal to 1
Default:6
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- separatethousands
Code:fig.update_ternaries(caxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_ternaries(caxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_ternaries(caxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_ternaries(caxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_ternaries(caxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_ternaries(caxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_ternaries(caxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- tick0
Code:fig.update_ternaries(caxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_ternaries(caxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_ternaries(caxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_ternaries(caxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_ternaries(caxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(caxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(caxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(caxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(caxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(caxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(caxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(caxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(caxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_ternaries(caxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_ternaries(caxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.ternary.caxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.ternary.caxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.ternary.caxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.ternary.caxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.ternary.caxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_ternaries(caxis_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_ternaries(caxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_ternaries(caxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_ternaries(caxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_ternaries(caxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_ternaries(caxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_ternaries(caxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_ternaries(caxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_ternaries(caxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_ternaries(caxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_ternaries(caxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_ternaries(caxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_ternaries(caxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_ternaries(caxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_ternaries(caxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_ternaries(caxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_ternaries(caxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_ternaries(caxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_ternaries(caxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_ternaries(caxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_ternaries(caxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- uirevision
Code:fig.update_ternaries(caxis_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `min`, and `title` if in `editable: True` configuration. Defaults to `ternary<N>.uirevision`.
- color
- domain
Code:fig.update_ternaries(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_ternaries(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this ternary subplot .
- row
Code:fig.update_ternaries(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this ternary subplot .
- x
Code:fig.update_ternaries(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this ternary subplot (in plot fraction).
- y
Code:fig.update_ternaries(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this ternary subplot (in plot fraction).
- column
- sum
Code:fig.update_ternaries(sum=<VALUE>)
Type: number greater than or equal to 0
Default:1
The number each triplet should sum to, and the maximum range of each axis
- uirevision
Code:fig.update_ternaries(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `min` and `title`, if not overridden in the individual axes. Defaults to `layout.uirevision`.
- aaxis
- scene
Code:fig.update_scenes(...)
Type: dict containing one or more of the keys listed below.- annotations
Code:fig.update_scenes(annotations=list(...))
Type: list of dict where each dict has one or more of the keys listed below.
An annotation is a text element that can be placed anywhere in the plot. It can be positioned with respect to relative coordinates in the plot or with respect to the actual data coordinates of the graph. Annotations can be shown with or without an arrow.- align
Parent:layout.scene.annotations[]
Type: enumerated , one of ("left"
|"center"
|"right"
)
Default:"center"
Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.
- arrowcolor
Parent:layout.scene.annotations[]
Type: colorSets the color of the annotation arrow.
- arrowhead
Parent:layout.scene.annotations[]
Type: integer between or equal to 0 and 8
Default:1
Sets the end annotation arrow head style.
- arrowside
Parent:layout.scene.annotations[]
Type: flaglist string. Any combination of"end"
,"start"
joined with a"+"
OR"none"
.
Examples:"end"
,"start"
,"end+start"
,"none"
Default:"end"
Sets the annotation arrow head position.
- arrowsize
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0.3
Default:1
Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line.
- arrowwidth
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0.1Sets the width (in px) of annotation arrow line.
- ax
Parent:layout.scene.annotations[]
Type: numberSets the x component of the arrow tail about the arrow head (in pixels).
- ay
Parent:layout.scene.annotations[]
Type: numberSets the y component of the arrow tail about the arrow head (in pixels).
- bgcolor
Parent:layout.scene.annotations[]
Type: color
Default:"rgba(0,0,0,0)"
Sets the background color of the annotation.
- bordercolor
Parent:layout.scene.annotations[]
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of the border enclosing the annotation `text`.
- borderpad
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0
Default:1
Sets the padding (in px) between the `text` and the enclosing border.
- borderwidth
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the border enclosing the annotation `text`.
- captureevents
Parent:layout.scene.annotations[]
Type: booleanDetermines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is "False" unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`.
- font
Parent:layout.scene.annotations[]
Type: dict containing one or more of the keys listed below.Sets the annotation text font.
- color
Parent:layout.scene.annotations[].font
Type: color - family
Parent:layout.scene.annotations[].font
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Parent:layout.scene.annotations[].font
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Parent:layout.scene.annotations[].font
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Parent:layout.scene.annotations[].font
Type: number greater than or equal to 1 - style
Parent:layout.scene.annotations[].font
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Parent:layout.scene.annotations[].font
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Parent:layout.scene.annotations[].font
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Parent:layout.scene.annotations[].font
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- height
Parent:layout.scene.annotations[]
Type: number greater than or equal to 1Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped.
- hoverlabel
Parent:layout.scene.annotations[]
Type: dict containing one or more of the keys listed below.- bgcolor
Parent:layout.scene.annotations[].hoverlabel
Type: colorSets the background color of the hover label. By default uses the annotation's `bgcolor` made opaque, or white if it was transparent.
- bordercolor
Parent:layout.scene.annotations[].hoverlabel
Type: colorSets the border color of the hover label. By default uses either dark grey or white, for maximum contrast with `hoverlabel.bgcolor`.
- font
Parent:layout.scene.annotations[].hoverlabel
Type: dict containing one or more of the keys listed below.Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`.
- color
Parent:layout.scene.annotations[].hoverlabel.font
Type: color - family
Parent:layout.scene.annotations[].hoverlabel.font
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Parent:layout.scene.annotations[].hoverlabel.font
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Parent:layout.scene.annotations[].hoverlabel.font
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Parent:layout.scene.annotations[].hoverlabel.font
Type: number greater than or equal to 1 - style
Parent:layout.scene.annotations[].hoverlabel.font
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Parent:layout.scene.annotations[].hoverlabel.font
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Parent:layout.scene.annotations[].hoverlabel.font
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Parent:layout.scene.annotations[].hoverlabel.font
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- bgcolor
- hovertext
Parent:layout.scene.annotations[]
Type: stringSets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear.
- name
Parent:layout.scene.annotations[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Parent:layout.scene.annotations[]
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the annotation (text + arrow).
- showarrow
Parent:layout.scene.annotations[]
Type: boolean
Default:True
Determines whether or not the annotation is drawn with an arrow. If "True", `text` is placed near the arrow's tail. If "False", `text` lines up with the `x` and `y` provided.
- standoff
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0
Default:0
Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount.
- startarrowhead
Parent:layout.scene.annotations[]
Type: integer between or equal to 0 and 8
Default:1
Sets the start annotation arrow head style.
- startarrowsize
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0.3
Default:1
Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line.
- startstandoff
Parent:layout.scene.annotations[]
Type: number greater than or equal to 0
Default:0
Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount.
- templateitemname
Parent:layout.scene.annotations[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- text
Parent:layout.scene.annotations[]
Type: stringSets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (<br>), bold (<b></b>), italics (<i></i>), hyperlinks (<a href='...'></a>). Tags <em>, <sup>, <sub>, <s>, <u> <span> are also supported.
- textangle
Parent:layout.scene.annotations[]
Type: angle
Default:0
Sets the angle at which the `text` is drawn with respect to the horizontal.
- valign
Parent:layout.scene.annotations[]
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)
Default:"middle"
Sets the vertical alignment of the `text` within the box. Has an effect only if an explicit height is set to override the text height.
- visible
Parent:layout.scene.annotations[]
Type: boolean
Default:True
Determines whether or not this annotation is visible.
- width
Parent:layout.scene.annotations[]
Type: number greater than or equal to 1Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use <br> to start a new line.
- x
Parent:layout.scene.annotations[]
Type: number or categorical coordinate stringSets the annotation's x position.
- xanchor
Parent:layout.scene.annotations[]
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"auto"
Sets the text box's horizontal position anchor This anchor binds the `x` position to the "left", "center" or "right" of the annotation. For example, if `x` is set to 1, `xref` to "paper" and `xanchor` to "right" then the right-most portion of the annotation lines up with the right-most edge of the plotting area. If "auto", the anchor is equivalent to "center" for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.
- xshift
Parent:layout.scene.annotations[]
Type: number
Default:0
Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels.
- y
Parent:layout.scene.annotations[]
Type: number or categorical coordinate stringSets the annotation's y position.
- yanchor
Parent:layout.scene.annotations[]
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"auto"
Sets the text box's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the annotation. For example, if `y` is set to 1, `yref` to "paper" and `yanchor` to "top" then the top-most portion of the annotation lines up with the top-most edge of the plotting area. If "auto", the anchor is equivalent to "middle" for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.
- yshift
Parent:layout.scene.annotations[]
Type: number
Default:0
Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels.
- z
Parent:layout.scene.annotations[]
Type: number or categorical coordinate stringSets the annotation's z position.
- align
- aspectmode
Code:fig.update_scenes(aspectmode=<VALUE>)
Type: enumerated , one of ("auto"
|"cube"
|"data"
|"manual"
)
Default:"auto"
If "cube", this scene's axes are drawn as a cube, regardless of the axes' ranges. If "data", this scene's axes are drawn in proportion with the axes' ranges. If "manual", this scene's axes are drawn in proportion with the input of "aspectratio" (the default behavior if "aspectratio" is provided). If "auto", this scene's axes are drawn using the results of "data" except when one axis is more than four times the size of the two others, where in that case the results of "cube" are used.
- aspectratio
Code:fig.update_scenes(aspectratio=dict(...))
Type: dict containing one or more of the keys listed below.Sets this scene's axis aspectratio.
- bgcolor
Code:fig.update_scenes(bgcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
- camera
Code:fig.update_scenes(camera=dict(...))
Type: dict containing one or more of the keys listed below.- center
Code:fig.update_scenes(camera_center=dict(...))
Type: dict containing one or more of the keys listed below.Sets the (x,y,z) components of the 'center' camera vector This vector determines the translation (x,y,z) space about the center of this scene. By default, there is no such translation.
- eye
Code:fig.update_scenes(camera_eye=dict(...))
Type: dict containing one or more of the keys listed below.Sets the (x,y,z) components of the 'eye' camera vector. This vector determines the view point about the origin of this scene.
- projection
Code:fig.update_scenes(camera_projection=dict(...))
Type: dict containing one or more of the keys listed below.- type
Code:fig.update_scenes(camera_projection_type=<VALUE>)
Type: enumerated , one of ("perspective"
|"orthographic"
)
Default:"perspective"
Sets the projection type. The projection type could be either "perspective" or "orthographic". The default is "perspective".
- type
- up
Code:fig.update_scenes(camera_up=dict(...))
Type: dict containing one or more of the keys listed below.Sets the (x,y,z) components of the 'up' camera vector. This vector determines the up direction of this scene with respect to the page. The default is "{x: 0, y: 0, z: 1}" which means that the z axis points up.
- center
- domain
Code:fig.update_scenes(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_scenes(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this scene subplot .
- row
Code:fig.update_scenes(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this scene subplot .
- x
Code:fig.update_scenes(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this scene subplot (in plot fraction).
- y
Code:fig.update_scenes(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this scene subplot (in plot fraction).
- column
- dragmode
Code:fig.update_scenes(dragmode=<VALUE>)
Type: enumerated , one of ("orbit"
|"turntable"
|"zoom"
|"pan"
|False
)Determines the mode of drag interactions for this scene.
- hovermode
Code:fig.update_scenes(hovermode=<VALUE>)
Type: enumerated , one of ("closest"
|False
)
Default:"closest"
Determines the mode of hover interactions for this scene.
- uirevision
Code:fig.update_scenes(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in camera attributes. Defaults to `layout.uirevision`.
- xaxis
Code:fig.update_scenes(xaxis=dict(...))
Type: dict containing one or more of the keys listed below.- autorange
Code:fig.update_scenes(xaxis_autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_scenes(xaxis_autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_scenes(xaxis_autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_scenes(xaxis_autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_scenes(xaxis_autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_scenes(xaxis_autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_scenes(xaxis_autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autotypenumbers
Code:fig.update_scenes(xaxis_autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- backgroundcolor
Code:fig.update_scenes(xaxis_backgroundcolor=<VALUE>)
Type: color
Default:"rgba(204, 204, 204, 0.5)"
Sets the background color of this axis' wall.
- calendar
Code:fig.update_scenes(xaxis_calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_scenes(xaxis_categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_scenes(xaxis_categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_scenes(xaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_scenes(xaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_scenes(xaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_scenes(xaxis_gridcolor=<VALUE>)
Type: color
Default:"rgb(204, 204, 204)"
Sets the color of the grid lines.
- gridwidth
Code:fig.update_scenes(xaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_scenes(xaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_scenes(xaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- linecolor
Code:fig.update_scenes(xaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_scenes(xaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- maxallowed
Code:fig.update_scenes(xaxis_maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_scenes(xaxis_minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_scenes(xaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- mirror
Code:fig.update_scenes(xaxis_mirror=<VALUE>)
Type: enumerated , one of (True
|"ticks"
|False
|"all"
|"allticks"
)Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If "True", the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If "False", mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
- nticks
Code:fig.update_scenes(xaxis_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_scenes(xaxis_range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangemode
Code:fig.update_scenes(xaxis_rangemode=<VALUE>)
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes.
- separatethousands
Code:fig.update_scenes(xaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showaxeslabels
Code:fig.update_scenes(xaxis_showaxeslabels=<VALUE>)
Type: boolean
Default:True
Sets whether or not this axis is labeled
- showbackground
Code:fig.update_scenes(xaxis_showbackground=<VALUE>)
Type: booleanSets whether or not this axis' wall has a background color.
- showexponent
Code:fig.update_scenes(xaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_scenes(xaxis_showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_scenes(xaxis_showline=<VALUE>)
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showspikes
Code:fig.update_scenes(xaxis_showspikes=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes starting from data points to this axis' wall are shown on hover.
- showticklabels
Code:fig.update_scenes(xaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_scenes(xaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_scenes(xaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- spikecolor
Code:fig.update_scenes(xaxis_spikecolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the spikes.
- spikesides
Code:fig.update_scenes(xaxis_spikesides=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover.
- spikethickness
Code:fig.update_scenes(xaxis_spikethickness=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the spikes.
- tick0
Code:fig.update_scenes(xaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_scenes(xaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_scenes(xaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_scenes(xaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_scenes(xaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(xaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(xaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(xaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(xaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(xaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(xaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(xaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(xaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_scenes(xaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_scenes(xaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.scene.xaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.scene.xaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.scene.xaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.scene.xaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.scene.xaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklen
Code:fig.update_scenes(xaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_scenes(xaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_scenes(xaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_scenes(xaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_scenes(xaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_scenes(xaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_scenes(xaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_scenes(xaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_scenes(xaxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_scenes(xaxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_scenes(xaxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(xaxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(xaxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(xaxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(xaxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(xaxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(xaxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(xaxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(xaxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_scenes(xaxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_scenes(xaxis_type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- visible
Code:fig.update_scenes(xaxis_visible=<VALUE>)
Type: booleanA single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- zeroline
Code:fig.update_scenes(xaxis_zeroline=<VALUE>)
Type: booleanDetermines whether or not a line is drawn at along the 0 value of this axis. If "True", the zero line is drawn on top of the grid lines.
- zerolinecolor
Code:fig.update_scenes(xaxis_zerolinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the line color of the zero line.
- zerolinewidth
Code:fig.update_scenes(xaxis_zerolinewidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the zero line.
- autorange
- yaxis
Code:fig.update_scenes(yaxis=dict(...))
Type: dict containing one or more of the keys listed below.- autorange
Code:fig.update_scenes(yaxis_autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_scenes(yaxis_autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_scenes(yaxis_autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_scenes(yaxis_autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_scenes(yaxis_autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_scenes(yaxis_autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_scenes(yaxis_autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autotypenumbers
Code:fig.update_scenes(yaxis_autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- backgroundcolor
Code:fig.update_scenes(yaxis_backgroundcolor=<VALUE>)
Type: color
Default:"rgba(204, 204, 204, 0.5)"
Sets the background color of this axis' wall.
- calendar
Code:fig.update_scenes(yaxis_calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_scenes(yaxis_categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_scenes(yaxis_categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_scenes(yaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_scenes(yaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_scenes(yaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_scenes(yaxis_gridcolor=<VALUE>)
Type: color
Default:"rgb(204, 204, 204)"
Sets the color of the grid lines.
- gridwidth
Code:fig.update_scenes(yaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_scenes(yaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_scenes(yaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- linecolor
Code:fig.update_scenes(yaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_scenes(yaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- maxallowed
Code:fig.update_scenes(yaxis_maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_scenes(yaxis_minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_scenes(yaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- mirror
Code:fig.update_scenes(yaxis_mirror=<VALUE>)
Type: enumerated , one of (True
|"ticks"
|False
|"all"
|"allticks"
)Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If "True", the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If "False", mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
- nticks
Code:fig.update_scenes(yaxis_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_scenes(yaxis_range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangemode
Code:fig.update_scenes(yaxis_rangemode=<VALUE>)
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes.
- separatethousands
Code:fig.update_scenes(yaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showaxeslabels
Code:fig.update_scenes(yaxis_showaxeslabels=<VALUE>)
Type: boolean
Default:True
Sets whether or not this axis is labeled
- showbackground
Code:fig.update_scenes(yaxis_showbackground=<VALUE>)
Type: booleanSets whether or not this axis' wall has a background color.
- showexponent
Code:fig.update_scenes(yaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_scenes(yaxis_showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_scenes(yaxis_showline=<VALUE>)
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showspikes
Code:fig.update_scenes(yaxis_showspikes=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes starting from data points to this axis' wall are shown on hover.
- showticklabels
Code:fig.update_scenes(yaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_scenes(yaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_scenes(yaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- spikecolor
Code:fig.update_scenes(yaxis_spikecolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the spikes.
- spikesides
Code:fig.update_scenes(yaxis_spikesides=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover.
- spikethickness
Code:fig.update_scenes(yaxis_spikethickness=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the spikes.
- tick0
Code:fig.update_scenes(yaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_scenes(yaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_scenes(yaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_scenes(yaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_scenes(yaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(yaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(yaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(yaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(yaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(yaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(yaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(yaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(yaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_scenes(yaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_scenes(yaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.scene.yaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.scene.yaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.scene.yaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.scene.yaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.scene.yaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklen
Code:fig.update_scenes(yaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_scenes(yaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_scenes(yaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_scenes(yaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_scenes(yaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_scenes(yaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_scenes(yaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_scenes(yaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_scenes(yaxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_scenes(yaxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_scenes(yaxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(yaxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(yaxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(yaxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(yaxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(yaxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(yaxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(yaxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(yaxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_scenes(yaxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_scenes(yaxis_type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- visible
Code:fig.update_scenes(yaxis_visible=<VALUE>)
Type: booleanA single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- zeroline
Code:fig.update_scenes(yaxis_zeroline=<VALUE>)
Type: booleanDetermines whether or not a line is drawn at along the 0 value of this axis. If "True", the zero line is drawn on top of the grid lines.
- zerolinecolor
Code:fig.update_scenes(yaxis_zerolinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the line color of the zero line.
- zerolinewidth
Code:fig.update_scenes(yaxis_zerolinewidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the zero line.
- autorange
- zaxis
Code:fig.update_scenes(zaxis=dict(...))
Type: dict containing one or more of the keys listed below.- autorange
Code:fig.update_scenes(zaxis_autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_scenes(zaxis_autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_scenes(zaxis_autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_scenes(zaxis_autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_scenes(zaxis_autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_scenes(zaxis_autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_scenes(zaxis_autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autotypenumbers
Code:fig.update_scenes(zaxis_autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- backgroundcolor
Code:fig.update_scenes(zaxis_backgroundcolor=<VALUE>)
Type: color
Default:"rgba(204, 204, 204, 0.5)"
Sets the background color of this axis' wall.
- calendar
Code:fig.update_scenes(zaxis_calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_scenes(zaxis_categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_scenes(zaxis_categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_scenes(zaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_scenes(zaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_scenes(zaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_scenes(zaxis_gridcolor=<VALUE>)
Type: color
Default:"rgb(204, 204, 204)"
Sets the color of the grid lines.
- gridwidth
Code:fig.update_scenes(zaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_scenes(zaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_scenes(zaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- linecolor
Code:fig.update_scenes(zaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_scenes(zaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- maxallowed
Code:fig.update_scenes(zaxis_maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_scenes(zaxis_minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_scenes(zaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- mirror
Code:fig.update_scenes(zaxis_mirror=<VALUE>)
Type: enumerated , one of (True
|"ticks"
|False
|"all"
|"allticks"
)Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If "True", the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If "False", mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
- nticks
Code:fig.update_scenes(zaxis_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_scenes(zaxis_range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangemode
Code:fig.update_scenes(zaxis_rangemode=<VALUE>)
Type: enumerated , one of ("normal"
|"tozero"
|"nonnegative"
)
Default:"normal"
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes.
- separatethousands
Code:fig.update_scenes(zaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showaxeslabels
Code:fig.update_scenes(zaxis_showaxeslabels=<VALUE>)
Type: boolean
Default:True
Sets whether or not this axis is labeled
- showbackground
Code:fig.update_scenes(zaxis_showbackground=<VALUE>)
Type: booleanSets whether or not this axis' wall has a background color.
- showexponent
Code:fig.update_scenes(zaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_scenes(zaxis_showgrid=<VALUE>)
Type: booleanDetermines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_scenes(zaxis_showline=<VALUE>)
Type: booleanDetermines whether or not a line bounding this axis is drawn.
- showspikes
Code:fig.update_scenes(zaxis_showspikes=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes starting from data points to this axis' wall are shown on hover.
- showticklabels
Code:fig.update_scenes(zaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_scenes(zaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_scenes(zaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- spikecolor
Code:fig.update_scenes(zaxis_spikecolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the spikes.
- spikesides
Code:fig.update_scenes(zaxis_spikesides=<VALUE>)
Type: boolean
Default:True
Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover.
- spikethickness
Code:fig.update_scenes(zaxis_spikethickness=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the thickness (in px) of the spikes.
- tick0
Code:fig.update_scenes(zaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_scenes(zaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_scenes(zaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_scenes(zaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_scenes(zaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(zaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(zaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(zaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(zaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(zaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(zaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(zaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(zaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_scenes(zaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_scenes(zaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.scene.zaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.scene.zaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.scene.zaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.scene.zaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.scene.zaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklen
Code:fig.update_scenes(zaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_scenes(zaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_scenes(zaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_scenes(zaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_scenes(zaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_scenes(zaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_scenes(zaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_scenes(zaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_scenes(zaxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_scenes(zaxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_scenes(zaxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_scenes(zaxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_scenes(zaxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_scenes(zaxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_scenes(zaxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_scenes(zaxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_scenes(zaxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_scenes(zaxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_scenes(zaxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_scenes(zaxis_title_text=<VALUE>)
Type: stringSets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_scenes(zaxis_type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- visible
Code:fig.update_scenes(zaxis_visible=<VALUE>)
Type: booleanA single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- zeroline
Code:fig.update_scenes(zaxis_zeroline=<VALUE>)
Type: booleanDetermines whether or not a line is drawn at along the 0 value of this axis. If "True", the zero line is drawn on top of the grid lines.
- zerolinecolor
Code:fig.update_scenes(zaxis_zerolinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the line color of the zero line.
- zerolinewidth
Code:fig.update_scenes(zaxis_zerolinewidth=<VALUE>)
Type: number
Default:1
Sets the width (in px) of the zero line.
- autorange
- annotations
- geo
Code:fig.update_geos(...)
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_geos(bgcolor=<VALUE>)
Type: color
Default:"#fff"
Set the background color of the map
- center
Code:fig.update_geos(center=dict(...))
Type: dict containing one or more of the keys listed below.- lat
Code:fig.update_geos(center_lat=<VALUE>)
Type: numberSets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default.
- lon
Code:fig.update_geos(center_lon=<VALUE>)
Type: numberSets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise.
- lat
- coastlinecolor
Code:fig.update_geos(coastlinecolor=<VALUE>)
Type: color
Default:"#444"
Sets the coastline color.
- coastlinewidth
Code:fig.update_geos(coastlinewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the coastline stroke width (in px).
- countrycolor
Code:fig.update_geos(countrycolor=<VALUE>)
Type: color
Default:"#444"
Sets line color of the country boundaries.
- countrywidth
Code:fig.update_geos(countrywidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets line width (in px) of the country boundaries.
- domain
Code:fig.update_geos(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_geos(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
- row
Code:fig.update_geos(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
- x
Code:fig.update_geos(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
- y
Code:fig.update_geos(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
- column
- fitbounds
Code:fig.update_geos(fitbounds=<VALUE>)
Type: enumerated , one of (False
|"locations"
|"geojson"
)Determines if this subplot's view settings are auto-computed to fit trace data. On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled. On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, and `projection.rotation.lon` getting auto-filled. On maps with a clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, `projection.rotation.lon`, `projection.rotation.lat`, `lonaxis.range` and `lonaxis.range` getting auto-filled. If "locations", only the trace's visible locations are considered in the `fitbounds` computations. If "geojson", the entire trace input `geojson` (if provided) is considered in the `fitbounds` computations, Defaults to "False".
- framecolor
Code:fig.update_geos(framecolor=<VALUE>)
Type: color
Default:"#444"
Sets the color the frame.
- framewidth
Code:fig.update_geos(framewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the stroke width (in px) of the frame.
- lakecolor
Code:fig.update_geos(lakecolor=<VALUE>)
Type: color
Default:"#3399FF"
Sets the color of the lakes.
- landcolor
Code:fig.update_geos(landcolor=<VALUE>)
Type: color
Default:"#F0DC82"
Sets the land mass color.
- lataxis
Code:fig.update_geos(lataxis=dict(...))
Type: dict containing one or more of the keys listed below.- dtick
Code:fig.update_geos(lataxis_dtick=<VALUE>)
Type: numberSets the graticule's longitude/latitude tick step.
- gridcolor
Code:fig.update_geos(lataxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the graticule's stroke color.
- griddash
Code:fig.update_geos(lataxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_geos(lataxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the graticule's stroke width (in px).
- range
Code:fig.update_geos(lataxis_range=list(...))
Type: listSets the range of this axis (in degrees), sets the map's clipped coordinates.
- showgrid
Code:fig.update_geos(lataxis_showgrid=<VALUE>)
Type: booleanSets whether or not graticule are shown on the map.
- tick0
Code:fig.update_geos(lataxis_tick0=<VALUE>)
Type: number
Default:0
Sets the graticule's starting tick longitude/latitude.
- dtick
- lonaxis
Code:fig.update_geos(lonaxis=dict(...))
Type: dict containing one or more of the keys listed below.- dtick
Code:fig.update_geos(lonaxis_dtick=<VALUE>)
Type: numberSets the graticule's longitude/latitude tick step.
- gridcolor
Code:fig.update_geos(lonaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the graticule's stroke color.
- griddash
Code:fig.update_geos(lonaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_geos(lonaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the graticule's stroke width (in px).
- range
Code:fig.update_geos(lonaxis_range=list(...))
Type: listSets the range of this axis (in degrees), sets the map's clipped coordinates.
- showgrid
Code:fig.update_geos(lonaxis_showgrid=<VALUE>)
Type: booleanSets whether or not graticule are shown on the map.
- tick0
Code:fig.update_geos(lonaxis_tick0=<VALUE>)
Type: number
Default:0
Sets the graticule's starting tick longitude/latitude.
- dtick
- oceancolor
Code:fig.update_geos(oceancolor=<VALUE>)
Type: color
Default:"#3399FF"
Sets the ocean color
- projection
Code:fig.update_geos(projection=dict(...))
Type: dict containing one or more of the keys listed below.- distance
Code:fig.update_geos(projection_distance=<VALUE>)
Type: number greater than or equal to 1.001
Default:2
For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius.
- parallels
Code:fig.update_geos(projection_parallels=list(...))
Type: listFor conic projection types only. Sets the parallels (tangent, secant) where the cone intersects the sphere.
- rotation
Code:fig.update_geos(projection_rotation=dict(...))
Type: dict containing one or more of the keys listed below.- lat
Code:fig.update_geos(projection_rotation_lat=<VALUE>)
Type: numberRotates the map along meridians (in degrees North).
- lon
Code:fig.update_geos(projection_rotation_lon=<VALUE>)
Type: numberRotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values.
- roll
Code:fig.update_geos(projection_rotation_roll=<VALUE>)
Type: numberRoll the map (in degrees) For example, a roll of "180" makes the map appear upside down.
- lat
- scale
Code:fig.update_geos(projection_scale=<VALUE>)
Type: number greater than or equal to 0
Default:1
Zooms in or out on the map view. A scale of "1" corresponds to the largest zoom level that fits the map's lon and lat ranges.
- tilt
Code:fig.update_geos(projection_tilt=<VALUE>)
Type: number
Default:0
For satellite projection type only. Sets the tilt angle of perspective projection.
- type
Code:fig.update_geos(projection_type=<VALUE>)
Type: enumerated , one of ("airy"
|"aitoff"
|"albers"
|"albers usa"
|"august"
|"azimuthal equal area"
|"azimuthal equidistant"
|"baker"
|"bertin1953"
|"boggs"
|"bonne"
|"bottomley"
|"bromley"
|"collignon"
|"conic conformal"
|"conic equal area"
|"conic equidistant"
|"craig"
|"craster"
|"cylindrical equal area"
|"cylindrical stereographic"
|"eckert1"
|"eckert2"
|"eckert3"
|"eckert4"
|"eckert5"
|"eckert6"
|"eisenlohr"
|"equal earth"
|"equirectangular"
|"fahey"
|"foucaut"
|"foucaut sinusoidal"
|"ginzburg4"
|"ginzburg5"
|"ginzburg6"
|"ginzburg8"
|"ginzburg9"
|"gnomonic"
|"gringorten"
|"gringorten quincuncial"
|"guyou"
|"hammer"
|"hill"
|"homolosine"
|"hufnagel"
|"hyperelliptical"
|"kavrayskiy7"
|"lagrange"
|"larrivee"
|"laskowski"
|"loximuthal"
|"mercator"
|"miller"
|"mollweide"
|"mt flat polar parabolic"
|"mt flat polar quartic"
|"mt flat polar sinusoidal"
|"natural earth"
|"natural earth1"
|"natural earth2"
|"nell hammer"
|"nicolosi"
|"orthographic"
|"patterson"
|"peirce quincuncial"
|"polyconic"
|"rectangular polyconic"
|"robinson"
|"satellite"
|"sinu mollweide"
|"sinusoidal"
|"stereographic"
|"times"
|"transverse mercator"
|"van der grinten"
|"van der grinten2"
|"van der grinten3"
|"van der grinten4"
|"wagner4"
|"wagner6"
|"wiechel"
|"winkel tripel"
|"winkel3"
)Sets the projection type.
- distance
- resolution
Code:fig.update_geos(resolution=<VALUE>)
Type: enumerated , one of ("110"
|"50"
)
Default:"110"
Sets the resolution of the base layers. The values have units of km/mm e.g. 110 corresponds to a scale ratio of 1:110,000,000.
- rivercolor
Code:fig.update_geos(rivercolor=<VALUE>)
Type: color
Default:"#3399FF"
Sets color of the rivers.
- riverwidth
Code:fig.update_geos(riverwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the stroke width (in px) of the rivers.
- scope
Code:fig.update_geos(scope=<VALUE>)
Type: enumerated , one of ("africa"
|"asia"
|"europe"
|"north america"
|"south america"
|"usa"
|"world"
)
Default:"world"
Set the scope of the map.
- showcoastlines
Code:fig.update_geos(showcoastlines=<VALUE>)
Type: booleanSets whether or not the coastlines are drawn.
- showcountries
Code:fig.update_geos(showcountries=<VALUE>)
Type: booleanSets whether or not country boundaries are drawn.
- showframe
Code:fig.update_geos(showframe=<VALUE>)
Type: booleanSets whether or not a frame is drawn around the map.
- showlakes
Code:fig.update_geos(showlakes=<VALUE>)
Type: booleanSets whether or not lakes are drawn.
- showland
Code:fig.update_geos(showland=<VALUE>)
Type: booleanSets whether or not land masses are filled in color.
- showocean
Code:fig.update_geos(showocean=<VALUE>)
Type: booleanSets whether or not oceans are filled in color.
- showrivers
Code:fig.update_geos(showrivers=<VALUE>)
Type: booleanSets whether or not rivers are drawn.
- showsubunits
Code:fig.update_geos(showsubunits=<VALUE>)
Type: booleanSets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn.
- subunitcolor
Code:fig.update_geos(subunitcolor=<VALUE>)
Type: color
Default:"#444"
Sets the color of the subunits boundaries.
- subunitwidth
Code:fig.update_geos(subunitwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the stroke width (in px) of the subunits boundaries.
- uirevision
Code:fig.update_geos(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in the view (projection and center). Defaults to `layout.uirevision`.
- visible
Code:fig.update_geos(visible=<VALUE>)
Type: boolean
Default:True
Sets the default visibility of the base layers.
- bgcolor
- map
Code:fig.update_layout(map=dict(...))
Type: dict containing one or more of the keys listed below.- bearing
Code:fig.update_layout(map_bearing=<VALUE>)
Type: number
Default:0
Sets the bearing angle of the map in degrees counter-clockwise from North (map.bearing).
- bounds
Code:fig.update_layout(map_bounds=dict(...))
Type: dict containing one or more of the keys listed below.- east
Code:fig.update_layout(map_bounds_east=<VALUE>)
Type: numberSets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.
- north
Code:fig.update_layout(map_bounds_north=<VALUE>)
Type: numberSets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.
- south
Code:fig.update_layout(map_bounds_south=<VALUE>)
Type: numberSets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.
- west
Code:fig.update_layout(map_bounds_west=<VALUE>)
Type: numberSets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared.
- east
- center
Code:fig.update_layout(map_center=dict(...))
Type: dict containing one or more of the keys listed below. - domain
Code:fig.update_layout(map_domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_layout(map_domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this map subplot .
- row
Code:fig.update_layout(map_domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this map subplot .
- x
Code:fig.update_layout(map_domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this map subplot (in plot fraction).
- y
Code:fig.update_layout(map_domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this map subplot (in plot fraction).
- column
- layers
Code:fig.update_layout(map_layers=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- below
Parent:layout.map.layers[]
Type: stringDetermines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer.
- circle
Parent:layout.map.layers[]
Type: dict containing one or more of the keys listed below.- radius
Parent:layout.map.layers[].circle
Type: number
Default:15
Sets the circle radius (map.layer.paint.circle-radius). Has an effect only when `type` is set to "circle".
- radius
- color
Parent:layout.map.layers[]
Type: color
Default:"#444"
Sets the primary layer color. If `type` is "circle", color corresponds to the circle color (map.layer.paint.circle-color) If `type` is "line", color corresponds to the line color (map.layer.paint.line-color) If `type` is "fill", color corresponds to the fill color (map.layer.paint.fill-color) If `type` is "symbol", color corresponds to the icon color (map.layer.paint.icon-color)
- coordinates
Parent:layout.map.layers[]
Type: number or categorical coordinate stringSets the coordinates array contains [longitude, latitude] pairs for the image corners listed in clockwise order: top left, top right, bottom right, bottom left. Only has an effect for "image" `sourcetype`.
- fill
Parent:layout.map.layers[]
Type: dict containing one or more of the keys listed below.- outlinecolor
Parent:layout.map.layers[].fill
Type: color
Default:"#444"
Sets the fill outline color (map.layer.paint.fill-outline-color). Has an effect only when `type` is set to "fill".
- outlinecolor
- line
Parent:layout.map.layers[]
Type: dict containing one or more of the keys listed below.- dash
Parent:layout.map.layers[].line
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the length of dashes and gaps (map.layer.paint.line-dasharray). Has an effect only when `type` is set to "line".
- width
Parent:layout.map.layers[].line
Type: number
Default:2
Sets the line width (map.layer.paint.line-width). Has an effect only when `type` is set to "line".
- dash
- maxzoom
Parent:layout.map.layers[]
Type: number between or equal to 0 and 24
Default:24
Sets the maximum zoom level (map.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
- minzoom
Parent:layout.map.layers[]
Type: number between or equal to 0 and 24
Default:0
Sets the minimum zoom level (map.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden.
- name
Parent:layout.map.layers[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Parent:layout.map.layers[]
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the layer. If `type` is "circle", opacity corresponds to the circle opacity (map.layer.paint.circle-opacity) If `type` is "line", opacity corresponds to the line opacity (map.layer.paint.line-opacity) If `type` is "fill", opacity corresponds to the fill opacity (map.layer.paint.fill-opacity) If `type` is "symbol", opacity corresponds to the icon/text opacity (map.layer.paint.text-opacity)
- source
Parent:layout.map.layers[]
Type: number or categorical coordinate stringSets the source data for this layer (map.layer.source). When `sourcetype` is set to "geojson", `source` can be a URL to a GeoJSON or a GeoJSON object. When `sourcetype` is set to "vector" or "raster", `source` can be a URL or an array of tile URLs. When `sourcetype` is set to "image", `source` can be a URL to an image.
- sourceattribution
Parent:layout.map.layers[]
Type: stringSets the attribution for this source.
- sourcelayer
Parent:layout.map.layers[]
Type: string
Default:""
Specifies the layer to use from a vector tile source (map.layer.source-layer). Required for "vector" source type that supports multiple layers.
- sourcetype
Parent:layout.map.layers[]
Type: enumerated , one of ("geojson"
|"vector"
|"raster"
|"image"
)
Default:"geojson"
Sets the source type for this layer, that is the type of the layer data.
- symbol
Parent:layout.map.layers[]
Type: dict containing one or more of the keys listed below.- icon
Parent:layout.map.layers[].symbol
Type: string
Default:"marker"
Sets the symbol icon image (map.layer.layout.icon-image). Full list: https://www.map.com/maki-icons/
- iconsize
Parent:layout.map.layers[].symbol
Type: number
Default:10
Sets the symbol icon size (map.layer.layout.icon-size). Has an effect only when `type` is set to "symbol".
- placement
Parent:layout.map.layers[].symbol
Type: enumerated , one of ("point"
|"line"
|"line-center"
)
Default:"point"
Sets the symbol and/or text placement (map.layer.layout.symbol-placement). If `placement` is "point", the label is placed where the geometry is located If `placement` is "line", the label is placed along the line of the geometry If `placement` is "line-center", the label is placed on the center of the geometry
- text
Parent:layout.map.layers[].symbol
Type: string
Default:""
Sets the symbol text (map.layer.layout.text-field).
- textfont
Parent:layout.map.layers[].symbol
Type: dict containing one or more of the keys listed below.Sets the icon text font (color=map.layer.paint.text-color, size=map.layer.layout.text-size). Has an effect only when `type` is set to "symbol".
- color
Parent:layout.map.layers[].symbol.textfont
Type: color - family
Parent:layout.map.layers[].symbol.textfont
Type: string
Default:"Open Sans Regular, Arial Unicode MS Regular"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Parent:layout.map.layers[].symbol.textfont
Type: number greater than or equal to 1 - style
Parent:layout.map.layers[].symbol.textfont
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- weight
Parent:layout.map.layers[].symbol.textfont
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textposition
Parent:layout.map.layers[].symbol
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- icon
- templateitemname
Parent:layout.map.layers[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- type
Parent:layout.map.layers[]
Type: enumerated , one of ("circle"
|"line"
|"fill"
|"symbol"
|"raster"
)
Default:"circle"
Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to "geojson", the following values are allowed: "circle", "line", "fill" and "symbol". but note that "line" and "fill" are not compatible with Point GeoJSON geometries. With `sourcetype` set to "vector", the following values are allowed: "circle", "line", "fill" and "symbol". With `sourcetype` set to "raster" or `"image"`, only the "raster" value is allowed.
- visible
Parent:layout.map.layers[]
Type: boolean
Default:True
Determines whether this layer is displayed
- below
- pitch
Code:fig.update_layout(map_pitch=<VALUE>)
Type: number
Default:0
Sets the pitch angle of the map (in degrees, where "0" means perpendicular to the surface of the map) (map.pitch).
- style
Code:fig.update_layout(map_style=<VALUE>)
Type: number or categorical coordinate string
Default:basic
Defines the map layers that are rendered by default below the trace layers defined in `data`, which are themselves by default rendered below the layers defined in `layout.map.layers`. These layers can be defined either explicitly as a Map Style object which can contain multiple layer definitions that load data from any public or private Tile Map Service (TMS or XYZ) or Web Map Service (WMS) or implicitly by using one of the built-in style objects which use WMSes or by using a custom style URL Map Style objects are of the form described in the MapLibre GL JS documentation available at https://maplibre.org/maplibre-style-spec/ The built-in plotly.js styles objects are: basic, carto-darkmatter, carto-darkmatter-nolabels, carto-positron, carto-positron-nolabels, carto-voyager, carto-voyager-nolabels, dark, light, open-street-map, outdoors, satellite, satellite-streets, streets, white-bg.
- uirevision
Code:fig.update_layout(map_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in the view: `center`, `zoom`, `bearing`, `pitch`. Defaults to `layout.uirevision`.
- zoom
Code:fig.update_layout(map_zoom=<VALUE>)
Type: number
Default:1
Sets the zoom level of the map (map.zoom).
- bearing
- mapbox
Code:fig.update_mapboxes(...)
Type: dict containing one or more of the keys listed below.- accesstoken
Code:fig.update_mapboxes(accesstoken=<VALUE>)
Type: stringSets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server.
- bearing
Code:fig.update_mapboxes(bearing=<VALUE>)
Type: number
Default:0
Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing).
- bounds
Code:fig.update_mapboxes(bounds=dict(...))
Type: dict containing one or more of the keys listed below.- east
Code:fig.update_mapboxes(bounds_east=<VALUE>)
Type: numberSets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.
- north
Code:fig.update_mapboxes(bounds_north=<VALUE>)
Type: numberSets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.
- south
Code:fig.update_mapboxes(bounds_south=<VALUE>)
Type: numberSets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.
- west
Code:fig.update_mapboxes(bounds_west=<VALUE>)
Type: numberSets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared.
- east
- center
Code:fig.update_mapboxes(center=dict(...))
Type: dict containing one or more of the keys listed below. - domain
Code:fig.update_mapboxes(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_mapboxes(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this mapbox subplot .
- row
Code:fig.update_mapboxes(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this mapbox subplot .
- x
Code:fig.update_mapboxes(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this mapbox subplot (in plot fraction).
- y
Code:fig.update_mapboxes(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this mapbox subplot (in plot fraction).
- column
- layers
Code:fig.update_mapboxes(layers=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- below
Parent:layout.mapbox.layers[]
Type: stringDetermines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer.
- circle
Parent:layout.mapbox.layers[]
Type: dict containing one or more of the keys listed below.- radius
Parent:layout.mapbox.layers[].circle
Type: number
Default:15
Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to "circle".
- radius
- color
Parent:layout.mapbox.layers[]
Type: color
Default:"#444"
Sets the primary layer color. If `type` is "circle", color corresponds to the circle color (mapbox.layer.paint.circle-color) If `type` is "line", color corresponds to the line color (mapbox.layer.paint.line-color) If `type` is "fill", color corresponds to the fill color (mapbox.layer.paint.fill-color) If `type` is "symbol", color corresponds to the icon color (mapbox.layer.paint.icon-color)
- coordinates
Parent:layout.mapbox.layers[]
Type: number or categorical coordinate stringSets the coordinates array contains [longitude, latitude] pairs for the image corners listed in clockwise order: top left, top right, bottom right, bottom left. Only has an effect for "image" `sourcetype`.
- fill
Parent:layout.mapbox.layers[]
Type: dict containing one or more of the keys listed below.- outlinecolor
Parent:layout.mapbox.layers[].fill
Type: color
Default:"#444"
Sets the fill outline color (mapbox.layer.paint.fill-outline-color). Has an effect only when `type` is set to "fill".
- outlinecolor
- line
Parent:layout.mapbox.layers[]
Type: dict containing one or more of the keys listed below.- dash
Parent:layout.mapbox.layers[].line
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the length of dashes and gaps (mapbox.layer.paint.line-dasharray). Has an effect only when `type` is set to "line".
- width
Parent:layout.mapbox.layers[].line
Type: number
Default:2
Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to "line".
- dash
- maxzoom
Parent:layout.mapbox.layers[]
Type: number between or equal to 0 and 24
Default:24
Sets the maximum zoom level (mapbox.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
- minzoom
Parent:layout.mapbox.layers[]
Type: number between or equal to 0 and 24
Default:0
Sets the minimum zoom level (mapbox.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden.
- name
Parent:layout.mapbox.layers[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Parent:layout.mapbox.layers[]
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the layer. If `type` is "circle", opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity) If `type` is "line", opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity) If `type` is "fill", opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity) If `type` is "symbol", opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity)
- source
Parent:layout.mapbox.layers[]
Type: number or categorical coordinate stringSets the source data for this layer (mapbox.layer.source). When `sourcetype` is set to "geojson", `source` can be a URL to a GeoJSON or a GeoJSON object. When `sourcetype` is set to "vector" or "raster", `source` can be a URL or an array of tile URLs. When `sourcetype` is set to "image", `source` can be a URL to an image.
- sourceattribution
Parent:layout.mapbox.layers[]
Type: stringSets the attribution for this source.
- sourcelayer
Parent:layout.mapbox.layers[]
Type: string
Default:""
Specifies the layer to use from a vector tile source (mapbox.layer.source-layer). Required for "vector" source type that supports multiple layers.
- sourcetype
Parent:layout.mapbox.layers[]
Type: enumerated , one of ("geojson"
|"vector"
|"raster"
|"image"
)
Default:"geojson"
Sets the source type for this layer, that is the type of the layer data.
- symbol
Parent:layout.mapbox.layers[]
Type: dict containing one or more of the keys listed below.- icon
Parent:layout.mapbox.layers[].symbol
Type: string
Default:"marker"
Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/
- iconsize
Parent:layout.mapbox.layers[].symbol
Type: number
Default:10
Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to "symbol".
- placement
Parent:layout.mapbox.layers[].symbol
Type: enumerated , one of ("point"
|"line"
|"line-center"
)
Default:"point"
Sets the symbol and/or text placement (mapbox.layer.layout.symbol-placement). If `placement` is "point", the label is placed where the geometry is located If `placement` is "line", the label is placed along the line of the geometry If `placement` is "line-center", the label is placed on the center of the geometry
- text
Parent:layout.mapbox.layers[].symbol
Type: string
Default:""
Sets the symbol text (mapbox.layer.layout.text-field).
- textfont
Parent:layout.mapbox.layers[].symbol
Type: dict containing one or more of the keys listed below.Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to "symbol".
- color
Parent:layout.mapbox.layers[].symbol.textfont
Type: color - family
Parent:layout.mapbox.layers[].symbol.textfont
Type: string
Default:"Open Sans Regular, Arial Unicode MS Regular"
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- size
Parent:layout.mapbox.layers[].symbol.textfont
Type: number greater than or equal to 1 - style
Parent:layout.mapbox.layers[].symbol.textfont
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- weight
Parent:layout.mapbox.layers[].symbol.textfont
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- textposition
Parent:layout.mapbox.layers[].symbol
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
)
Default:"middle center"
Sets the positions of the `text` elements with respects to the (x,y) coordinates.
- icon
- templateitemname
Parent:layout.mapbox.layers[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- type
Parent:layout.mapbox.layers[]
Type: enumerated , one of ("circle"
|"line"
|"fill"
|"symbol"
|"raster"
)
Default:"circle"
Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to "geojson", the following values are allowed: "circle", "line", "fill" and "symbol". but note that "line" and "fill" are not compatible with Point GeoJSON geometries. With `sourcetype` set to "vector", the following values are allowed: "circle", "line", "fill" and "symbol". With `sourcetype` set to "raster" or `"image"`, only the "raster" value is allowed.
- visible
Parent:layout.mapbox.layers[]
Type: boolean
Default:True
Determines whether this layer is displayed
- below
- pitch
Code:fig.update_mapboxes(pitch=<VALUE>)
Type: number
Default:0
Sets the pitch angle of the map (in degrees, where "0" means perpendicular to the surface of the map) (mapbox.pitch).
- style
Code:fig.update_mapboxes(style=<VALUE>)
Type: number or categorical coordinate string
Default:basic
Defines the map layers that are rendered by default below the trace layers defined in `data`, which are themselves by default rendered below the layers defined in `layout.mapbox.layers`. These layers can be defined either explicitly as a Mapbox Style object which can contain multiple layer definitions that load data from any public or private Tile Map Service (TMS or XYZ) or Web Map Service (WMS) or implicitly by using one of the built-in style objects which use WMSes which do not require any access tokens, or by using a default Mapbox style or custom Mapbox style URL, both of which require a Mapbox access token Note that Mapbox access token can be set in the `accesstoken` attribute or in the `mapboxAccessToken` config option. Mapbox Style objects are of the form described in the Mapbox GL JS documentation available at https://docs.mapbox.com/mapbox-gl-js/style-spec The built-in plotly.js styles objects are: carto-darkmatter, carto-positron, open-street-map, stamen-terrain, stamen-toner, stamen-watercolor, white-bg The built-in Mapbox styles are: basic, streets, outdoors, light, dark, satellite, satellite-streets Mapbox style URLs are of the form: mapbox://mapbox.mapbox-<name>-<version>
- uirevision
Code:fig.update_mapboxes(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in the view: `center`, `zoom`, `bearing`, `pitch`. Defaults to `layout.uirevision`.
- zoom
Code:fig.update_mapboxes(zoom=<VALUE>)
Type: number
Default:1
Sets the zoom level of the map (mapbox.zoom).
- accesstoken
- polar
Code:fig.update_polars(...)
Type: dict containing one or more of the keys listed below.- angularaxis
Code:fig.update_polars(angularaxis=dict(...))
Type: dict containing one or more of the keys listed below.- autotypenumbers
Code:fig.update_polars(angularaxis_autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- categoryarray
Code:fig.update_polars(angularaxis_categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_polars(angularaxis_categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_polars(angularaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- direction
Code:fig.update_polars(angularaxis_direction=<VALUE>)
Type: enumerated , one of ("counterclockwise"
|"clockwise"
)
Default:"counterclockwise"
Sets the direction corresponding to positive angles.
- dtick
Code:fig.update_polars(angularaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_polars(angularaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_polars(angularaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_polars(angularaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_polars(angularaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_polars(angularaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_polars(angularaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_polars(angularaxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_polars(angularaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_polars(angularaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- minexponent
Code:fig.update_polars(angularaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_polars(angularaxis_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- period
Code:fig.update_polars(angularaxis_period=<VALUE>)
Type: number greater than or equal to 0Set the angular period. Has an effect only when `angularaxis.type` is "category".
- rotation
Code:fig.update_polars(angularaxis_rotation=<VALUE>)
Type: angleSets that start position (in degrees) of the angular axis By default, polar subplots with `direction` set to "counterclockwise" get a `rotation` of "0" which corresponds to due East (like what mathematicians prefer). In turn, polar with `direction` set to "clockwise" get a rotation of "90" which corresponds to due North (like on a compass),
- separatethousands
Code:fig.update_polars(angularaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_polars(angularaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_polars(angularaxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_polars(angularaxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_polars(angularaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_polars(angularaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_polars(angularaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- thetaunit
Code:fig.update_polars(angularaxis_thetaunit=<VALUE>)
Type: enumerated , one of ("radians"
|"degrees"
)
Default:"degrees"
Sets the format unit of the formatted "theta" values. Has an effect only when `angularaxis.type` is "linear".
- tick0
Code:fig.update_polars(angularaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_polars(angularaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_polars(angularaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_polars(angularaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_polars(angularaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_polars(angularaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_polars(angularaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_polars(angularaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_polars(angularaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_polars(angularaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_polars(angularaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_polars(angularaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_polars(angularaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_polars(angularaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_polars(angularaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.polar.angularaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.polar.angularaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.polar.angularaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.polar.angularaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.polar.angularaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_polars(angularaxis_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_polars(angularaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_polars(angularaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_polars(angularaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_polars(angularaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_polars(angularaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_polars(angularaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_polars(angularaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_polars(angularaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- type
Code:fig.update_polars(angularaxis_type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"category"
)
Default:"-"
Sets the angular axis type. If "linear", set `thetaunit` to determine the unit in which axis value are shown. If "category, use `period` to set the number of integer coordinates around polar axis.
- uirevision
Code:fig.update_polars(angularaxis_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `rotation`. Defaults to `polar<N>.uirevision`.
- visible
Code:fig.update_polars(angularaxis_visible=<VALUE>)
Type: boolean
Default:True
A single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- autotypenumbers
- bgcolor
Code:fig.update_polars(bgcolor=<VALUE>)
Type: color
Default:"#fff"
Set the background color of the subplot
- domain
Code:fig.update_polars(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_polars(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this polar subplot .
- row
Code:fig.update_polars(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this polar subplot .
- x
Code:fig.update_polars(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this polar subplot (in plot fraction).
- y
Code:fig.update_polars(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this polar subplot (in plot fraction).
- column
- gridshape
Code:fig.update_polars(gridshape=<VALUE>)
Type: enumerated , one of ("circular"
|"linear"
)
Default:"circular"
Determines if the radial axis grid lines and angular axis line are drawn as "circular" sectors or as "linear" (polygon) sectors. Has an effect only when the angular axis has `type` "category". Note that `radialaxis.angle` is snapped to the angle of the closest vertex when `gridshape` is "circular" (so that radial axis scale is the same as the data scale).
- hole
Code:fig.update_polars(hole=<VALUE>)
Type: number between or equal to 0 and 1
Default:0
Sets the fraction of the radius to cut out of the polar subplot.
- radialaxis
Code:fig.update_polars(radialaxis=dict(...))
Type: dict containing one or more of the keys listed below.- angle
Code:fig.update_polars(radialaxis_angle=<VALUE>)
Type: angleSets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle.
- autorange
Code:fig.update_polars(radialaxis_autorange=<VALUE>)
Type: enumerated , one of (True
|False
|"reversed"
|"min reversed"
|"max reversed"
|"min"
|"max"
)
Default:True
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to "False". Using "min" applies autorange only to set the minimum. Using "max" applies autorange only to set the maximum. Using "min reversed" applies autorange only to set the minimum on a reversed axis. Using "max reversed" applies autorange only to set the maximum on a reversed axis. Using "reversed" applies autorange on both ends and reverses the axis direction.
- autorangeoptions
Code:fig.update_polars(radialaxis_autorangeoptions=dict(...))
Type: dict containing one or more of the keys listed below.- clipmax
Code:fig.update_polars(radialaxis_autorangeoptions_clipmax=<VALUE>)
Type: number or categorical coordinate stringClip autorange maximum if it goes beyond this value. Has no effect when `autorangeoptions.maxallowed` is provided.
- clipmin
Code:fig.update_polars(radialaxis_autorangeoptions_clipmin=<VALUE>)
Type: number or categorical coordinate stringClip autorange minimum if it goes beyond this value. Has no effect when `autorangeoptions.minallowed` is provided.
- include
Code:fig.update_polars(radialaxis_autorangeoptions_include=<VALUE>)
Type: number or categorical coordinate stringEnsure this value is included in autorange.
- maxallowed
Code:fig.update_polars(radialaxis_autorangeoptions_maxallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange maximum.
- minallowed
Code:fig.update_polars(radialaxis_autorangeoptions_minallowed=<VALUE>)
Type: number or categorical coordinate stringUse this value exactly as autorange minimum.
- clipmax
- autotickangles
Code:fig.update_polars(radialaxis_autotickangles=list(...))
Type: list
Default:[0, 30, 90]
When `tickangle` is set to "auto", it will be set to the first angle in this array that is large enough to prevent label overlap.
- autotypenumbers
Code:fig.update_polars(radialaxis_autotypenumbers=<VALUE>)
Type: enumerated , one of ("convert types"
|"strict"
)
Default:"convert types"
Using "strict" a numeric string in trace data is not converted to a number. Using "convert types" a numeric string in trace data may be treated as a number during automatic axis `type` detection. Defaults to layout.autotypenumbers.
- calendar
Code:fig.update_polars(radialaxis_calendar=<VALUE>)
Type: enumerated , one of ("chinese"
|"coptic"
|"discworld"
|"ethiopian"
|"gregorian"
|"hebrew"
|"islamic"
|"jalali"
|"julian"
|"mayan"
|"nanakshahi"
|"nepali"
|"persian"
|"taiwan"
|"thai"
|"ummalqura"
)
Default:"gregorian"
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`
- categoryarray
Code:fig.update_polars(radialaxis_categoryarray=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.
- categoryorder
Code:fig.update_polars(radialaxis_categoryorder=<VALUE>)
Type: enumerated , one of ("trace"
|"category ascending"
|"category descending"
|"array"
|"total ascending"
|"total descending"
|"min ascending"
|"min descending"
|"max ascending"
|"max descending"
|"sum ascending"
|"sum descending"
|"mean ascending"
|"mean descending"
|"geometric mean ascending"
|"geometric mean descending"
|"median ascending"
|"median descending"
)
Default:"trace"
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean, geometric mean or median of all the values.
- color
Code:fig.update_polars(radialaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- dtick
Code:fig.update_polars(radialaxis_dtick=<VALUE>)
Type: number or categorical coordinate stringSets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L<f>", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M<n>" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"
- exponentformat
Code:fig.update_polars(radialaxis_exponentformat=<VALUE>)
Type: enumerated , one of ("none"
|"e"
|"E"
|"power"
|"SI"
|"B"
)
Default:"B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
- gridcolor
Code:fig.update_polars(radialaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_polars(radialaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_polars(radialaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_polars(radialaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_polars(radialaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_polars(radialaxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_polars(radialaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_polars(radialaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- maxallowed
Code:fig.update_polars(radialaxis_maxallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the maximum range of this axis.
- minallowed
Code:fig.update_polars(radialaxis_minallowed=<VALUE>)
Type: number or categorical coordinate stringDetermines the minimum range of this axis.
- minexponent
Code:fig.update_polars(radialaxis_minexponent=<VALUE>)
Type: number greater than or equal to 0
Default:3
Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".
- nticks
Code:fig.update_polars(radialaxis_nticks=<VALUE>)
Type: integer greater than or equal to 0
Default:0
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".
- range
Code:fig.update_polars(radialaxis_range=list(...))
Type: listSets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears. Leaving either or both elements `null` impacts the default `autorange`.
- rangemode
Code:fig.update_polars(radialaxis_rangemode=<VALUE>)
Type: enumerated , one of ("tozero"
|"nonnegative"
|"normal"
)
Default:"tozero"
If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. If "normal", the range is computed in relation to the extrema of the input data (same behavior as for cartesian axes).
- separatethousands
Code:fig.update_polars(radialaxis_separatethousands=<VALUE>)
Type: booleanIf "True", even 4-digit integers are separated
- showexponent
Code:fig.update_polars(radialaxis_showexponent=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.
- showgrid
Code:fig.update_polars(radialaxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_polars(radialaxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_polars(radialaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_polars(radialaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_polars(radialaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- side
Code:fig.update_polars(radialaxis_side=<VALUE>)
Type: enumerated , one of ("clockwise"
|"counterclockwise"
)
Default:"clockwise"
Determines on which side of radial axis line the tick and tick labels appear.
- tick0
Code:fig.update_polars(radialaxis_tick0=<VALUE>)
Type: number or categorical coordinate stringSets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L<f>" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
- tickangle
Code:fig.update_polars(radialaxis_tickangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_polars(radialaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_polars(radialaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_polars(radialaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_polars(radialaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_polars(radialaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_polars(radialaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_polars(radialaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_polars(radialaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_polars(radialaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_polars(radialaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_polars(radialaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_polars(radialaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- tickformatstops
Code:fig.update_polars(radialaxis_tickformatstops=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- dtickrange
Parent:layout.polar.radialaxis.tickformatstops[]
Type: listrange ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"
- enabled
Parent:layout.polar.radialaxis.tickformatstops[]
Type: boolean
Default:True
Determines whether or not this stop is used. If `False`, this stop is ignored even within its `dtickrange`.
- name
Parent:layout.polar.radialaxis.tickformatstops[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.polar.radialaxis.tickformatstops[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.polar.radialaxis.tickformatstops[]
Type: string
Default:""
string - dtickformat for described zoom level, the same as "tickformat"
- dtickrange
- ticklabelstep
Code:fig.update_polars(radialaxis_ticklabelstep=<VALUE>)
Type: integer greater than or equal to 1
Default:1
Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".
- ticklen
Code:fig.update_polars(radialaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickmode
Code:fig.update_polars(radialaxis_tickmode=<VALUE>)
Type: enumerated , one of ("auto"
|"linear"
|"array"
)Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).
- tickprefix
Code:fig.update_polars(radialaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_polars(radialaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_polars(radialaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- ticktext
Code:fig.update_polars(radialaxis_ticktext=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.
- tickvals
Code:fig.update_polars(radialaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.
- tickwidth
Code:fig.update_polars(radialaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- title
Code:fig.update_polars(radialaxis_title=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_polars(radialaxis_title_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
- color
Code:fig.update_polars(radialaxis_title_font_color=<VALUE>)
Type: color - family
Code:fig.update_polars(radialaxis_title_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_polars(radialaxis_title_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_polars(radialaxis_title_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_polars(radialaxis_title_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_polars(radialaxis_title_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_polars(radialaxis_title_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_polars(radialaxis_title_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_polars(radialaxis_title_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_polars(radialaxis_title_text=<VALUE>)
Type: string
Default:""
Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
- font
- type
Code:fig.update_polars(radialaxis_type=<VALUE>)
Type: enumerated , one of ("-"
|"linear"
|"log"
|"date"
|"category"
)
Default:"-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
- uirevision
Code:fig.update_polars(radialaxis_uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis `range`, `autorange`, `angle`, and `title` if in `editable: True` configuration. Defaults to `polar<N>.uirevision`.
- visible
Code:fig.update_polars(radialaxis_visible=<VALUE>)
Type: boolean
Default:True
A single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- angle
- sector
Code:fig.update_polars(sector=list(...))
Type: list
Default:[0, 360]
Sets angular span of this polar subplot with two angles (in degrees). Sector are assumed to be spanned in the counterclockwise direction with "0" corresponding to rightmost limit of the polar subplot.
- uirevision
Code:fig.update_polars(uirevision=<VALUE>)
Type: number or categorical coordinate stringControls persistence of user-driven changes in axis attributes, if not overridden in the individual axes. Defaults to `layout.uirevision`.
- angularaxis
- smith
Code:fig.update_smiths(...)
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_smiths(bgcolor=<VALUE>)
Type: color
Default:"#fff"
Set the background color of the subplot
- domain
Code:fig.update_smiths(domain=dict(...))
Type: dict containing one or more of the keys listed below.- column
Code:fig.update_smiths(domain_column=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this column in the grid for this smith subplot .
- row
Code:fig.update_smiths(domain_row=<VALUE>)
Type: integer greater than or equal to 0
Default:0
If there is a layout grid, use the domain for this row in the grid for this smith subplot .
- x
Code:fig.update_smiths(domain_x=list(...))
Type: list
Default:[0, 1]
Sets the horizontal domain of this smith subplot (in plot fraction).
- y
Code:fig.update_smiths(domain_y=list(...))
Type: list
Default:[0, 1]
Sets the vertical domain of this smith subplot (in plot fraction).
- column
- imaginaryaxis
Code:fig.update_smiths(imaginaryaxis=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_smiths(imaginaryaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- gridcolor
Code:fig.update_smiths(imaginaryaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_smiths(imaginaryaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_smiths(imaginaryaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_smiths(imaginaryaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_smiths(imaginaryaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_smiths(imaginaryaxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_smiths(imaginaryaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_smiths(imaginaryaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- showgrid
Code:fig.update_smiths(imaginaryaxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_smiths(imaginaryaxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_smiths(imaginaryaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_smiths(imaginaryaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_smiths(imaginaryaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- tickcolor
Code:fig.update_smiths(imaginaryaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_smiths(imaginaryaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_smiths(imaginaryaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_smiths(imaginaryaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_smiths(imaginaryaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_smiths(imaginaryaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_smiths(imaginaryaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_smiths(imaginaryaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_smiths(imaginaryaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_smiths(imaginaryaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_smiths(imaginaryaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_smiths(imaginaryaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- ticklen
Code:fig.update_smiths(imaginaryaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickprefix
Code:fig.update_smiths(imaginaryaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_smiths(imaginaryaxis_ticks=<VALUE>)
Type: enumerated , one of ("outside"
|"inside"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines.
- ticksuffix
Code:fig.update_smiths(imaginaryaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- tickvals
Code:fig.update_smiths(imaginaryaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.Sets the values at which ticks on this axis appear. Defaults to `realaxis.tickvals` plus the same as negatives and zero.
- tickwidth
Code:fig.update_smiths(imaginaryaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the tick width (in px).
- visible
Code:fig.update_smiths(imaginaryaxis_visible=<VALUE>)
Type: boolean
Default:True
A single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- color
- realaxis
Code:fig.update_smiths(realaxis=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_smiths(realaxis_color=<VALUE>)
Type: color
Default:"#444"
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.
- gridcolor
Code:fig.update_smiths(realaxis_gridcolor=<VALUE>)
Type: color
Default:"#eee"
Sets the color of the grid lines.
- griddash
Code:fig.update_smiths(realaxis_griddash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- gridwidth
Code:fig.update_smiths(realaxis_gridwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the grid lines.
- hoverformat
Code:fig.update_smiths(realaxis_hoverformat=<VALUE>)
Type: string
Default:""
Sets the hover text formatting rule using 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"
- labelalias
Code:fig.update_smiths(realaxis_labelalias=<VALUE>)
Type: number or categorical coordinate stringReplacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
- layer
Code:fig.update_smiths(realaxis_layer=<VALUE>)
Type: enumerated , one of ("above traces"
|"below traces"
)
Default:"above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "False" to show markers and/or text nodes above this axis.
- linecolor
Code:fig.update_smiths(realaxis_linecolor=<VALUE>)
Type: color
Default:"#444"
Sets the axis line color.
- linewidth
Code:fig.update_smiths(realaxis_linewidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the axis line.
- showgrid
Code:fig.update_smiths(realaxis_showgrid=<VALUE>)
Type: boolean
Default:True
Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.
- showline
Code:fig.update_smiths(realaxis_showline=<VALUE>)
Type: boolean
Default:True
Determines whether or not a line bounding this axis is drawn.
- showticklabels
Code:fig.update_smiths(realaxis_showticklabels=<VALUE>)
Type: boolean
Default:True
Determines whether or not the tick labels are drawn.
- showtickprefix
Code:fig.update_smiths(realaxis_showtickprefix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.
- showticksuffix
Code:fig.update_smiths(realaxis_showticksuffix=<VALUE>)
Type: enumerated , one of ("all"
|"first"
|"last"
|"none"
)
Default:"all"
Same as `showtickprefix` but for tick suffixes.
- side
Code:fig.update_smiths(realaxis_side=<VALUE>)
Type: enumerated , one of ("top"
|"bottom"
)
Default:"top"
Determines on which side of real axis line the tick and tick labels appear.
- tickangle
Code:fig.update_smiths(realaxis_tickangle=<VALUE>)
Type: angle
Default:90
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
- tickcolor
Code:fig.update_smiths(realaxis_tickcolor=<VALUE>)
Type: color
Default:"#444"
Sets the tick color.
- tickfont
Code:fig.update_smiths(realaxis_tickfont=dict(...))
Type: dict containing one or more of the keys listed below.Sets the tick font.
- color
Code:fig.update_smiths(realaxis_tickfont_color=<VALUE>)
Type: color - family
Code:fig.update_smiths(realaxis_tickfont_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_smiths(realaxis_tickfont_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_smiths(realaxis_tickfont_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_smiths(realaxis_tickfont_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_smiths(realaxis_tickfont_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_smiths(realaxis_tickfont_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_smiths(realaxis_tickfont_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_smiths(realaxis_tickfont_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- tickformat
Code:fig.update_smiths(realaxis_tickformat=<VALUE>)
Type: string
Default:""
Sets the tick label formatting rule using 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"
- ticklen
Code:fig.update_smiths(realaxis_ticklen=<VALUE>)
Type: number greater than or equal to 0
Default:5
Sets the tick length (in px).
- tickprefix
Code:fig.update_smiths(realaxis_tickprefix=<VALUE>)
Type: string
Default:""
Sets a tick label prefix.
- ticks
Code:fig.update_smiths(realaxis_ticks=<VALUE>)
Type: enumerated , one of ("top"
|"bottom"
|""
)Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "top" ("bottom"), this axis' are drawn above (below) the axis line.
- ticksuffix
Code:fig.update_smiths(realaxis_ticksuffix=<VALUE>)
Type: string
Default:""
Sets a tick label suffix.
- tickvals
Code:fig.update_smiths(realaxis_tickvals=<VALUE>)
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
Default:0.20.5125
Sets the values at which ticks on this axis appear.
- tickwidth
Code:fig.update_smiths(realaxis_tickwidth=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the tick width (in px).
- visible
Code:fig.update_smiths(realaxis_visible=<VALUE>)
Type: boolean
Default:True
A single toggle to hide the axis while preserving interaction like dragging. Default is True when a cheater plot is present on the axis, otherwise False
- color
- bgcolor
- annotations
Code:fig.update_annotations(...)
Type: list of dict where each dict has one or more of the keys listed below.
An annotation is a text element that can be placed anywhere in the plot. It can be positioned with respect to relative coordinates in the plot or with respect to the actual data coordinates of the graph. Annotations can be shown with or without an arrow.- align
Code:fig.update_annotations(align=<VALUE>)
Type: enumerated , one of ("left"
|"center"
|"right"
)
Default:"center"
Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.
- arrowcolor
Code:fig.update_annotations(arrowcolor=<VALUE>)
Type: colorSets the color of the annotation arrow.
- arrowhead
Code:fig.update_annotations(arrowhead=<VALUE>)
Type: integer between or equal to 0 and 8
Default:1
Sets the end annotation arrow head style.
- arrowside
Code:fig.update_annotations(arrowside=<VALUE>)
Type: flaglist string. Any combination of"end"
,"start"
joined with a"+"
OR"none"
.
Examples:"end"
,"start"
,"end+start"
,"none"
Default:"end"
Sets the annotation arrow head position.
- arrowsize
Code:fig.update_annotations(arrowsize=<VALUE>)
Type: number greater than or equal to 0.3
Default:1
Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line.
- arrowwidth
Code:fig.update_annotations(arrowwidth=<VALUE>)
Type: number greater than or equal to 0.1Sets the width (in px) of annotation arrow line.
- ax
Code:fig.update_annotations(ax=<VALUE>)
Type: number or categorical coordinate stringSets the x component of the arrow tail about the arrow head. If `axref` is `pixel`, a positive (negative) component corresponds to an arrow pointing from right to left (left to right). If `axref` is not `pixel` and is exactly the same as `xref`, this is an absolute value on that axis, like `x`, specified in the same coordinates as `xref`.
- axref
Code:fig.update_annotations(axref=<VALUE>)
Type: enumerated , one of ("pixel"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
)
Default:"pixel"
Indicates in what coordinates the tail of the annotation (ax,ay) is specified. If set to a x axis id (e.g. "x" or "x2"), the `x` position refers to a x coordinate. If set to "paper", the `x` position refers to the distance from the left of the plotting area in normalized coordinates where "0" ("1") corresponds to the left (right). If set to a x axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the left of the domain of that axis: e.g., "x2 domain" refers to the domain of the second x axis and a x position of 0.5 refers to the point between the left and the right of the domain of the second x axis. In order for absolute positioning of the arrow to work, "axref" must be exactly the same as "xref", otherwise "axref" will revert to "pixel" (explained next). For relative positioning, "axref" can be set to "pixel", in which case the "ax" value is specified in pixels relative to "x". Absolute positioning is useful for trendline annotations which should continue to indicate the correct trend when zoomed. Relative positioning is useful for specifying the text offset for an annotated point.
- ay
Code:fig.update_annotations(ay=<VALUE>)
Type: number or categorical coordinate stringSets the y component of the arrow tail about the arrow head. If `ayref` is `pixel`, a positive (negative) component corresponds to an arrow pointing from bottom to top (top to bottom). If `ayref` is not `pixel` and is exactly the same as `yref`, this is an absolute value on that axis, like `y`, specified in the same coordinates as `yref`.
- ayref
Code:fig.update_annotations(ayref=<VALUE>)
Type: enumerated , one of ("pixel"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)
Default:"pixel"
Indicates in what coordinates the tail of the annotation (ax,ay) is specified. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis. In order for absolute positioning of the arrow to work, "ayref" must be exactly the same as "yref", otherwise "ayref" will revert to "pixel" (explained next). For relative positioning, "ayref" can be set to "pixel", in which case the "ay" value is specified in pixels relative to "y". Absolute positioning is useful for trendline annotations which should continue to indicate the correct trend when zoomed. Relative positioning is useful for specifying the text offset for an annotated point.
- bgcolor
Code:fig.update_annotations(bgcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the background color of the annotation.
- bordercolor
Code:fig.update_annotations(bordercolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the color of the border enclosing the annotation `text`.
- borderpad
Code:fig.update_annotations(borderpad=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the padding (in px) between the `text` and the enclosing border.
- borderwidth
Code:fig.update_annotations(borderwidth=<VALUE>)
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the border enclosing the annotation `text`.
- captureevents
Code:fig.update_annotations(captureevents=<VALUE>)
Type: booleanDetermines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is "False" unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`.
- clicktoshow
Code:fig.update_annotations(clicktoshow=<VALUE>)
Type: enumerated , one of (False
|"onoff"
|"onout"
)Makes this annotation respond to clicks on the plot. If you click a data point that exactly matches the `x` and `y` values of this annotation, and it is hidden (visible: False), it will appear. In "onoff" mode, you must click the same point again to make it disappear, so if you click multiple points, you can show multiple annotations. In "onout" mode, a click anywhere else in the plot (on another data point or not) will hide this annotation. If you need to show/hide this annotation in response to different `x` or `y` values, you can set `xclick` and/or `yclick`. This is useful for example to label the side of a bar. To label markers though, `standoff` is preferred over `xclick` and `yclick`.
- font
Code:fig.update_annotations(font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the annotation text font.
- color
Code:fig.update_annotations(font_color=<VALUE>)
Type: color - family
Code:fig.update_annotations(font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_annotations(font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_annotations(font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_annotations(font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_annotations(font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_annotations(font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_annotations(font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_annotations(font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- height
Code:fig.update_annotations(height=<VALUE>)
Type: number greater than or equal to 1Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped.
- hoverlabel
Code:fig.update_annotations(hoverlabel=dict(...))
Type: dict containing one or more of the keys listed below.- bgcolor
Code:fig.update_annotations(hoverlabel_bgcolor=<VALUE>)
Type: colorSets the background color of the hover label. By default uses the annotation's `bgcolor` made opaque, or white if it was transparent.
- bordercolor
Code:fig.update_annotations(hoverlabel_bordercolor=<VALUE>)
Type: colorSets the border color of the hover label. By default uses either dark grey or white, for maximum contrast with `hoverlabel.bgcolor`.
- font
Code:fig.update_annotations(hoverlabel_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`.
- color
Code:fig.update_annotations(hoverlabel_font_color=<VALUE>)
Type: color - family
Code:fig.update_annotations(hoverlabel_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_annotations(hoverlabel_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_annotations(hoverlabel_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_annotations(hoverlabel_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_annotations(hoverlabel_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_annotations(hoverlabel_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_annotations(hoverlabel_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_annotations(hoverlabel_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- bgcolor
- hovertext
Code:fig.update_annotations(hovertext=<VALUE>)
Type: stringSets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear.
- name
Code:fig.update_annotations(name=<VALUE>)
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Code:fig.update_annotations(opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the annotation (text + arrow).
- showarrow
Code:fig.update_annotations(showarrow=<VALUE>)
Type: boolean
Default:True
Determines whether or not the annotation is drawn with an arrow. If "True", `text` is placed near the arrow's tail. If "False", `text` lines up with the `x` and `y` provided.
- standoff
Code:fig.update_annotations(standoff=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount.
- startarrowhead
Code:fig.update_annotations(startarrowhead=<VALUE>)
Type: integer between or equal to 0 and 8
Default:1
Sets the start annotation arrow head style.
- startarrowsize
Code:fig.update_annotations(startarrowsize=<VALUE>)
Type: number greater than or equal to 0.3
Default:1
Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line.
- startstandoff
Code:fig.update_annotations(startstandoff=<VALUE>)
Type: number greater than or equal to 0
Default:0
Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount.
- templateitemname
Code:fig.update_annotations(templateitemname=<VALUE>)
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- text
Code:fig.update_annotations(text=<VALUE>)
Type: stringSets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (<br>), bold (<b></b>), italics (<i></i>), hyperlinks (<a href='...'></a>). Tags <em>, <sup>, <sub>, <s>, <u> <span> are also supported.
- textangle
Code:fig.update_annotations(textangle=<VALUE>)
Type: angle
Default:0
Sets the angle at which the `text` is drawn with respect to the horizontal.
- valign
Code:fig.update_annotations(valign=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)
Default:"middle"
Sets the vertical alignment of the `text` within the box. Has an effect only if an explicit height is set to override the text height.
- visible
Code:fig.update_annotations(visible=<VALUE>)
Type: boolean
Default:True
Determines whether or not this annotation is visible.
- width
Code:fig.update_annotations(width=<VALUE>)
Type: number greater than or equal to 1Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use <br> to start a new line.
- x
Code:fig.update_annotations(x=<VALUE>)
Type: number or categorical coordinate stringSets the annotation's x position. If the axis `type` is "log", then you must take the log of your desired range. If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
- xanchor
Code:fig.update_annotations(xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"auto"
Sets the text box's horizontal position anchor This anchor binds the `x` position to the "left", "center" or "right" of the annotation. For example, if `x` is set to 1, `xref` to "paper" and `xanchor` to "right" then the right-most portion of the annotation lines up with the right-most edge of the plotting area. If "auto", the anchor is equivalent to "center" for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.
- xclick
Code:fig.update_annotations(xclick=<VALUE>)
Type: number or categorical coordinate stringToggle this annotation when clicking a data point whose `x` value is `xclick` rather than the annotation's `x` value.
- xref
Code:fig.update_annotations(xref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the annotation's x coordinate axis. If set to a x axis id (e.g. "x" or "x2"), the `x` position refers to a x coordinate. If set to "paper", the `x` position refers to the distance from the left of the plotting area in normalized coordinates where "0" ("1") corresponds to the left (right). If set to a x axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the left of the domain of that axis: e.g., "x2 domain" refers to the domain of the second x axis and a x position of 0.5 refers to the point between the left and the right of the domain of the second x axis.
- xshift
Code:fig.update_annotations(xshift=<VALUE>)
Type: number
Default:0
Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels.
- y
Code:fig.update_annotations(y=<VALUE>)
Type: number or categorical coordinate stringSets the annotation's y position. If the axis `type` is "log", then you must take the log of your desired range. If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
- yanchor
Code:fig.update_annotations(yanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"auto"
Sets the text box's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the annotation. For example, if `y` is set to 1, `yref` to "paper" and `yanchor` to "top" then the top-most portion of the annotation lines up with the top-most edge of the plotting area. If "auto", the anchor is equivalent to "middle" for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.
- yclick
Code:fig.update_annotations(yclick=<VALUE>)
Type: number or categorical coordinate stringToggle this annotation when clicking a data point whose `y` value is `yclick` rather than the annotation's `y` value.
- yref
Code:fig.update_annotations(yref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the annotation's y coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.
- yshift
Code:fig.update_annotations(yshift=<VALUE>)
Type: number
Default:0
Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels.
- align
- shapes
Code:fig.update_shapes(...)
Type: list of dict where each dict has one or more of the keys listed below.- editable
Code:fig.update_shapes(editable=<VALUE>)
Type: booleanDetermines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`.
- fillcolor
Code:fig.update_shapes(fillcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the color filling the shape's interior. Only applies to closed shapes.
- fillrule
Code:fig.update_shapes(fillrule=<VALUE>)
Type: enumerated , one of ("evenodd"
|"nonzero"
)
Default:"evenodd"
Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule
- label
Code:fig.update_shapes(label=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_shapes(label_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the shape label text font.
- color
Code:fig.update_shapes(label_font_color=<VALUE>)
Type: color - family
Code:fig.update_shapes(label_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_shapes(label_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_shapes(label_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_shapes(label_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_shapes(label_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_shapes(label_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_shapes(label_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_shapes(label_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- padding
Code:fig.update_shapes(label_padding=<VALUE>)
Type: number greater than or equal to 0
Default:3
Sets padding (in px) between edge of label and edge of shape.
- text
Code:fig.update_shapes(label_text=<VALUE>)
Type: string
Default:""
Sets the text to display with shape. It is also used for legend item if `name` is not provided.
- textangle
Code:fig.update_shapes(label_textangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle "auto" is the same angle as the line. For all other shapes, angle "auto" is horizontal.
- textposition
Code:fig.update_shapes(label_textposition=<VALUE>)
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
|"start"
|"middle"
|"end"
)Sets the position of the label text relative to the shape. Supported values for rectangles, circles and paths are "top left", "top center", "top right", "middle left", "middle center", "middle right", "bottom left", "bottom center", and "bottom right". Supported values for lines are "start", "middle", and "end". Default: "middle center" for rectangles, circles, and paths; "middle" for lines.
- texttemplate
Code:fig.update_shapes(label_texttemplate=<VALUE>)
Type: string
Default:""
Template string used for rendering the shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0"2.54}", "%{slope"60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`.
- xanchor
Code:fig.update_shapes(label_xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"auto"
Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the "left", "center" or "right" of the label text. For example, if `textposition` is set to "top right" and `xanchor` to "right" then the right-most portion of the label text lines up with the right-most edge of the shape.
- yanchor
Code:fig.update_shapes(label_yanchor=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the shape.
- font
- layer
Code:fig.update_shapes(layer=<VALUE>)
Type: enumerated , one of ("below"
|"above"
|"between"
)
Default:"above"
Specifies whether shapes are drawn below gridlines ("below"), between gridlines and traces ("between") or above traces ("above").
- legend
Code:fig.update_shapes(legend=<VALUE>)
Type: subplotid
Default:legend
Sets the reference to a legend to show this shape 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
Code:fig.update_shapes(legendgroup=<VALUE>)
Type: string
Default:""
Sets the legend group for this shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
- legendgrouptitle
Code:fig.update_shapes(legendgrouptitle=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_shapes(legendgrouptitle_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_shapes(legendgrouptitle_font_color=<VALUE>)
Type: color - family
Code:fig.update_shapes(legendgrouptitle_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_shapes(legendgrouptitle_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_shapes(legendgrouptitle_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_shapes(legendgrouptitle_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_shapes(legendgrouptitle_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_shapes(legendgrouptitle_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_shapes(legendgrouptitle_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_shapes(legendgrouptitle_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_shapes(legendgrouptitle_text=<VALUE>)
Type: string
Default:""
Sets the title of the legend group.
- font
- legendrank
Code:fig.update_shapes(legendrank=<VALUE>)
Type: number
Default:1000
Sets the legend rank for this shape. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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
Code:fig.update_shapes(legendwidth=<VALUE>)
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for this shape.
- line
Code:fig.update_shapes(line=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_shapes(line_color=<VALUE>)
Type: colorSets the line color.
- dash
Code:fig.update_shapes(line_dash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_shapes(line_width=<VALUE>)
Type: number greater than or equal to 0
Default:2
Sets the line width (in px).
- color
- name
Code:fig.update_shapes(name=<VALUE>)
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Code:fig.update_shapes(opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the shape.
- path
Code:fig.update_shapes(path=<VALUE>)
Type: stringFor `type` "path" - a valid SVG path with the pixel values replaced by data values in `xsizemode`/`ysizemode` being "scaled" and taken unmodified as pixels relative to `xanchor` and `yanchor` in case of "pixel" size mode. There are a few restrictions / quirks only absolute instructions, not relative. So the allowed segments are: M, L, H, V, Q, C, T, S, and Z arcs (A) are not allowed because radius rx and ry are relative. In the future we could consider supporting relative commands, but we would have to decide on how to handle date and log axes. Note that even as is, Q and C Bezier paths that are smooth on linear axes may not be smooth on log, and vice versa. no chained "polybezier" commands - specify the segment type for each one. On category axes, values are numbers scaled to the serial numbers of categories because using the categories themselves there would be no way to describe fractional positions On data axes: because space and T are both normal components of path strings, we can't use either to separate date from time parts. Therefore we'll use underscore for this purpose: 2015-02-21_13:45:56.789
- showlegend
Code:fig.update_shapes(showlegend=<VALUE>)
Type: booleanDetermines whether or not this shape is shown in the legend.
- templateitemname
Code:fig.update_shapes(templateitemname=<VALUE>)
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- type
Code:fig.update_shapes(type=<VALUE>)
Type: enumerated , one of ("circle"
|"rect"
|"path"
|"line"
)Specifies the shape type to be drawn. If "line", a line is drawn from (`x0`,`y0`) to (`x1`,`y1`) with respect to the axes' sizing mode. If "circle", a circle is drawn from ((`x0`+`x1`)/2, (`y0`+`y1`)/2)) with radius (|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|) with respect to the axes' sizing mode. If "rect", a rectangle is drawn linking (`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`) with respect to the axes' sizing mode. If "path", draw a custom SVG path using `path`. with respect to the axes' sizing mode.
- visible
Code:fig.update_shapes(visible=<VALUE>)
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
Determines whether or not this shape is visible. If "legendonly", the shape is not drawn, but can appear as a legend item (provided that the legend itself is visible).
- x0
Code:fig.update_shapes(x0=<VALUE>)
Type: number or categorical coordinate stringSets the shape's starting x position. See `type` and `xsizemode` for more info.
- x0shift
Code:fig.update_shapes(x0shift=<VALUE>)
Type: number between or equal to -1 and 1
Default:0
Shifts `x0` away from the center of the category when `xref` is a "category" or "multicategory" axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category.
- x1
Code:fig.update_shapes(x1=<VALUE>)
Type: number or categorical coordinate stringSets the shape's end x position. See `type` and `xsizemode` for more info.
- x1shift
Code:fig.update_shapes(x1shift=<VALUE>)
Type: number between or equal to -1 and 1
Default:0
Shifts `x1` away from the center of the category when `xref` is a "category" or "multicategory" axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category.
- xanchor
Code:fig.update_shapes(xanchor=<VALUE>)
Type: number or categorical coordinate stringOnly relevant in conjunction with `xsizemode` set to "pixel". Specifies the anchor point on the x axis to which `x0`, `x1` and x coordinates within `path` are relative to. E.g. useful to attach a pixel sized shape to a certain data value. No effect when `xsizemode` not set to "pixel".
- xref
Code:fig.update_shapes(xref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the shape's x coordinate axis. If set to a x axis id (e.g. "x" or "x2"), the `x` position refers to a x coordinate. If set to "paper", the `x` position refers to the distance from the left of the plotting area in normalized coordinates where "0" ("1") corresponds to the left (right). If set to a x axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the left of the domain of that axis: e.g., "x2 domain" refers to the domain of the second x axis and a x position of 0.5 refers to the point between the left and the right of the domain of the second x axis.
- xsizemode
Code:fig.update_shapes(xsizemode=<VALUE>)
Type: enumerated , one of ("scaled"
|"pixel"
)
Default:"scaled"
Sets the shapes's sizing mode along the x axis. If set to "scaled", `x0`, `x1` and x coordinates within `path` refer to data values on the x axis or a fraction of the plot area's width (`xref` set to "paper"). If set to "pixel", `xanchor` specifies the x position in terms of data or plot fraction but `x0`, `x1` and x coordinates within `path` are pixels relative to `xanchor`. This way, the shape can have a fixed width while maintaining a position relative to data or plot fraction.
- y0
Code:fig.update_shapes(y0=<VALUE>)
Type: number or categorical coordinate stringSets the shape's starting y position. See `type` and `ysizemode` for more info.
- y0shift
Code:fig.update_shapes(y0shift=<VALUE>)
Type: number between or equal to -1 and 1
Default:0
Shifts `y0` away from the center of the category when `yref` is a "category" or "multicategory" axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category.
- y1
Code:fig.update_shapes(y1=<VALUE>)
Type: number or categorical coordinate stringSets the shape's end y position. See `type` and `ysizemode` for more info.
- y1shift
Code:fig.update_shapes(y1shift=<VALUE>)
Type: number between or equal to -1 and 1
Default:0
Shifts `y1` away from the center of the category when `yref` is a "category" or "multicategory" axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category.
- yanchor
Code:fig.update_shapes(yanchor=<VALUE>)
Type: number or categorical coordinate stringOnly relevant in conjunction with `ysizemode` set to "pixel". Specifies the anchor point on the y axis to which `y0`, `y1` and y coordinates within `path` are relative to. E.g. useful to attach a pixel sized shape to a certain data value. No effect when `ysizemode` not set to "pixel".
- yref
Code:fig.update_shapes(yref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the shape's y coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.
- ysizemode
Code:fig.update_shapes(ysizemode=<VALUE>)
Type: enumerated , one of ("scaled"
|"pixel"
)
Default:"scaled"
Sets the shapes's sizing mode along the y axis. If set to "scaled", `y0`, `y1` and y coordinates within `path` refer to data values on the y axis or a fraction of the plot area's height (`yref` set to "paper"). If set to "pixel", `yanchor` specifies the y position in terms of data or plot fraction but `y0`, `y1` and y coordinates within `path` are pixels relative to `yanchor`. This way, the shape can have a fixed height while maintaining a position relative to data or plot fraction.
- editable
- newshape
Code:fig.update_layout(newshape=dict(...))
Type: dict containing one or more of the keys listed below.- drawdirection
Code:fig.update_layout(newshape_drawdirection=<VALUE>)
Type: enumerated , one of ("ortho"
|"horizontal"
|"vertical"
|"diagonal"
)
Default:"diagonal"
When `dragmode` is set to "drawrect", "drawline" or "drawcircle" this limits the drag to be horizontal, vertical or diagonal. Using "diagonal" there is no limit e.g. in drawing lines in any direction. "ortho" limits the draw to be either horizontal or vertical. "horizontal" allows horizontal extend. "vertical" allows vertical extend.
- fillcolor
Code:fig.update_layout(newshape_fillcolor=<VALUE>)
Type: color
Default:"rgba(0,0,0,0)"
Sets the color filling new shapes' interior. Please note that if using a fillcolor with alpha greater than half, drag inside the active shape starts moving the shape underneath, otherwise a new shape could be started over.
- fillrule
Code:fig.update_layout(newshape_fillrule=<VALUE>)
Type: enumerated , one of ("evenodd"
|"nonzero"
)
Default:"evenodd"
Determines the path's interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule
- label
Code:fig.update_layout(newshape_label=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_layout(newshape_label_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets the new shape label text font.
- color
Code:fig.update_layout(newshape_label_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(newshape_label_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(newshape_label_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(newshape_label_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(newshape_label_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(newshape_label_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(newshape_label_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(newshape_label_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(newshape_label_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- padding
Code:fig.update_layout(newshape_label_padding=<VALUE>)
Type: number greater than or equal to 0
Default:3
Sets padding (in px) between edge of label and edge of new shape.
- text
Code:fig.update_layout(newshape_label_text=<VALUE>)
Type: string
Default:""
Sets the text to display with the new shape. It is also used for legend item if `name` is not provided.
- textangle
Code:fig.update_layout(newshape_label_textangle=<VALUE>)
Type: angle
Default:"auto"
Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle "auto" is the same angle as the line. For all other shapes, angle "auto" is horizontal.
- textposition
Code:fig.update_layout(newshape_label_textposition=<VALUE>)
Type: enumerated , one of ("top left"
|"top center"
|"top right"
|"middle left"
|"middle center"
|"middle right"
|"bottom left"
|"bottom center"
|"bottom right"
|"start"
|"middle"
|"end"
)Sets the position of the label text relative to the new shape. Supported values for rectangles, circles and paths are "top left", "top center", "top right", "middle left", "middle center", "middle right", "bottom left", "bottom center", and "bottom right". Supported values for lines are "start", "middle", and "end". Default: "middle center" for rectangles, circles, and paths; "middle" for lines.
- texttemplate
Code:fig.update_layout(newshape_label_texttemplate=<VALUE>)
Type: string
Default:""
Template string used for rendering the new shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0"2.54}", "%{slope"60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`.
- xanchor
Code:fig.update_layout(newshape_label_xanchor=<VALUE>)
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"auto"
Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the "left", "center" or "right" of the label text. For example, if `textposition` is set to "top right" and `xanchor` to "right" then the right-most portion of the label text lines up with the right-most edge of the new shape.
- yanchor
Code:fig.update_layout(newshape_label_yanchor=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the new shape.
- font
- layer
Code:fig.update_layout(newshape_layer=<VALUE>)
Type: enumerated , one of ("below"
|"above"
|"between"
)
Default:"above"
Specifies whether new shapes are drawn below gridlines ("below"), between gridlines and traces ("between") or above traces ("above").
- legend
Code:fig.update_layout(newshape_legend=<VALUE>)
Type: subplotid
Default:legend
Sets the reference to a legend to show new shape 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
Code:fig.update_layout(newshape_legendgroup=<VALUE>)
Type: string
Default:""
Sets the legend group for new shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
- legendgrouptitle
Code:fig.update_layout(newshape_legendgrouptitle=dict(...))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_layout(newshape_legendgrouptitle_font=dict(...))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_layout(newshape_legendgrouptitle_font_color=<VALUE>)
Type: color - family
Code:fig.update_layout(newshape_legendgrouptitle_font_family=<VALUE>)
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Code:fig.update_layout(newshape_legendgrouptitle_font_lineposition=<VALUE>)
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_layout(newshape_legendgrouptitle_font_shadow=<VALUE>)
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_layout(newshape_legendgrouptitle_font_size=<VALUE>)
Type: number greater than or equal to 1 - style
Code:fig.update_layout(newshape_legendgrouptitle_font_style=<VALUE>)
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Code:fig.update_layout(newshape_legendgrouptitle_font_textcase=<VALUE>)
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Code:fig.update_layout(newshape_legendgrouptitle_font_variant=<VALUE>)
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Code:fig.update_layout(newshape_legendgrouptitle_font_weight=<VALUE>)
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- text
Code:fig.update_layout(newshape_legendgrouptitle_text=<VALUE>)
Type: string
Default:""
Sets the title of the legend group.
- font
- legendrank
Code:fig.update_layout(newshape_legendrank=<VALUE>)
Type: number
Default:1000
Sets the legend rank for new shape. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they 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.
- legendwidth
Code:fig.update_layout(newshape_legendwidth=<VALUE>)
Type: number greater than or equal to 0Sets the width (in px or fraction) of the legend for new shape.
- line
Code:fig.update_layout(newshape_line=dict(...))
Type: dict containing one or more of the keys listed below.- color
Code:fig.update_layout(newshape_line_color=<VALUE>)
Type: colorSets the line color. By default uses either dark grey or white to increase contrast with background color.
- dash
Code:fig.update_layout(newshape_line_dash=<VALUE>)
Type: string
Default:"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Code:fig.update_layout(newshape_line_width=<VALUE>)
Type: number greater than or equal to 0
Default:4
Sets the line width (in px).
- color
- name
Code:fig.update_layout(newshape_name=<VALUE>)
Type: stringSets new shape name. The name appears as the legend item.
- opacity
Code:fig.update_layout(newshape_opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of new shapes.
- showlegend
Code:fig.update_layout(newshape_showlegend=<VALUE>)
Type: booleanDetermines whether or not new shape is shown in the legend.
- visible
Code:fig.update_layout(newshape_visible=<VALUE>)
Type: enumerated , one of (True
|False
|"legendonly"
)
Default:True
Determines whether or not new shape is visible. If "legendonly", the shape is not drawn, but can appear as a legend item (provided that the legend itself is visible).
- drawdirection
- activeshape
Code:fig.update_layout(activeshape=dict(...))
Type: dict containing one or more of the keys listed below.- fillcolor
Code:fig.update_layout(activeshape_fillcolor=<VALUE>)
Type: color
Default:"rgb(255,0,255)"
Sets the color filling the active shape' interior.
- opacity
Code:fig.update_layout(activeshape_opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:0.5
Sets the opacity of the active shape.
- fillcolor
- images
Code:fig.update_layout_images(...)
Type: list of dict where each dict has one or more of the keys listed below.- layer
Code:fig.update_layout_images(layer=<VALUE>)
Type: enumerated , one of ("below"
|"above"
)
Default:"above"
Specifies whether images are drawn below or above traces. When `xref` and `yref` are both set to `paper`, image is drawn below the entire plot area.
- name
Code:fig.update_layout_images(name=<VALUE>)
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Code:fig.update_layout_images(opacity=<VALUE>)
Type: number between or equal to 0 and 1
Default:1
Sets the opacity of the image.
- sizex
Code:fig.update_layout_images(sizex=<VALUE>)
Type: number
Default:0
Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`, units are sized relative to the axis width.
- sizey
Code:fig.update_layout_images(sizey=<VALUE>)
Type: number
Default:0
Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height. When `yref` ends with ` domain`, units are sized relative to the axis height.
- sizing
Code:fig.update_layout_images(sizing=<VALUE>)
Type: enumerated , one of ("fill"
|"contain"
|"stretch"
)
Default:"contain"
Specifies which dimension of the image to constrain.
- source
Code:fig.update_layout_images(source=<VALUE>)
Type: stringSpecifies the URL of the image to be used. The URL must be accessible from the domain where the plot code is run, and can be either relative or absolute.
- templateitemname
Code:fig.update_layout_images(templateitemname=<VALUE>)
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- visible
Code:fig.update_layout_images(visible=<VALUE>)
Type: boolean
Default:True
Determines whether or not this image is visible.
- x
Code:fig.update_layout_images(x=<VALUE>)
Type: number or categorical coordinate string
Default:0
Sets the image's x position. When `xref` is set to `paper`, units are sized relative to the plot height. See `xref` for more info
- xanchor
Code:fig.update_layout_images(xanchor=<VALUE>)
Type: enumerated , one of ("left"
|"center"
|"right"
)
Default:"left"
Sets the anchor for the x position
- xref
Code:fig.update_layout_images(xref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
)
Default:"paper"
Sets the images's x coordinate axis. If set to a x axis id (e.g. "x" or "x2"), the `x` position refers to a x coordinate. If set to "paper", the `x` position refers to the distance from the left of the plotting area in normalized coordinates where "0" ("1") corresponds to the left (right). If set to a x axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the left of the domain of that axis: e.g., "x2 domain" refers to the domain of the second x axis and a x position of 0.5 refers to the point between the left and the right of the domain of the second x axis.
- y
Code:fig.update_layout_images(y=<VALUE>)
Type: number or categorical coordinate string
Default:0
Sets the image's y position. When `yref` is set to `paper`, units are sized relative to the plot height. See `yref` for more info
- yanchor
Code:fig.update_layout_images(yanchor=<VALUE>)
Type: enumerated , one of ("top"
|"middle"
|"bottom"
)
Default:"top"
Sets the anchor for the y position.
- yref
Code:fig.update_layout_images(yref=<VALUE>)
Type: enumerated , one of ("paper"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)
Default:"paper"
Sets the images's y coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.
- layer
- updatemenus
Code:fig.update_layout(updatemenus=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- active
Parent:layout.updatemenus[]
Type: integer greater than or equal to -1
Default:0
Determines which button (by index starting from 0) is considered active.
- bgcolor
Parent:layout.updatemenus[]
Type: colorSets the background color of the update menu buttons.
- bordercolor
Parent:layout.updatemenus[]
Type: color
Default:"#BEC8D9"
Sets the color of the border enclosing the update menu.
- borderwidth
Parent:layout.updatemenus[]
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the border enclosing the update menu.
- buttons
Parent:layout.updatemenus[]
Type: list of dict where each dict has one or more of the keys listed below.- args
Parent:layout.updatemenus[].buttons[]
Type: listSets the arguments values to be passed to the Plotly method set in `method` on click.
- args2
Parent:layout.updatemenus[].buttons[]
Type: listSets a 2nd set of `args`, these arguments values are passed to the Plotly method set in `method` when clicking this button while in the active state. Use this to create toggle buttons.
- execute
Parent:layout.updatemenus[].buttons[]
Type: boolean
Default:True
When True, the API method is executed. When False, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_buttonclicked` method and executing the API command manually without losing the benefit of the updatemenu automatically binding to the state of the plot through the specification of `method` and `args`.
- label
Parent:layout.updatemenus[].buttons[]
Type: string
Default:""
Sets the text label to appear on the button.
- method
Parent:layout.updatemenus[].buttons[]
Type: enumerated , one of ("restyle"
|"relayout"
|"animate"
|"update"
|"skip"
)
Default:"restyle"
Sets the Plotly method to be called on click. If the `skip` method is used, the API updatemenu will function as normal but will perform no API calls and will not bind automatically to state updates. This may be used to create a component interface and attach to updatemenu events manually via JavaScript.
- name
Parent:layout.updatemenus[].buttons[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.updatemenus[].buttons[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- visible
Parent:layout.updatemenus[].buttons[]
Type: booleanDetermines whether or not this button is visible.
- args
- direction
Parent:layout.updatemenus[]
Type: enumerated , one of ("left"
|"right"
|"up"
|"down"
)
Default:"down"
Determines the direction in which the buttons are laid out, whether in a dropdown menu or a row/column of buttons. For `left` and `up`, the buttons will still appear in left-to-right or top-to-bottom order respectively.
- font
Parent:layout.updatemenus[]
Type: dict containing one or more of the keys listed below.Sets the font of the update menu button text.
- color
Parent:layout.updatemenus[].font
Type: color - family
Parent:layout.updatemenus[].font
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Parent:layout.updatemenus[].font
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Parent:layout.updatemenus[].font
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Parent:layout.updatemenus[].font
Type: number greater than or equal to 1 - style
Parent:layout.updatemenus[].font
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Parent:layout.updatemenus[].font
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Parent:layout.updatemenus[].font
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Parent:layout.updatemenus[].font
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- name
Parent:layout.updatemenus[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- pad
Parent:layout.updatemenus[]
Type: dict containing one or more of the keys listed below.Sets the padding around the buttons or dropdown menu.
- b
Parent:layout.updatemenus[].pad
Type: number
Default:0
The amount of padding (in px) along the bottom of the component.
- l
Parent:layout.updatemenus[].pad
Type: number
Default:0
The amount of padding (in px) on the left side of the component.
- r
Parent:layout.updatemenus[].pad
Type: number
Default:0
The amount of padding (in px) on the right side of the component.
- t
Parent:layout.updatemenus[].pad
Type: number
Default:0
The amount of padding (in px) along the top of the component.
- b
- showactive
Parent:layout.updatemenus[]
Type: boolean
Default:True
Highlights active dropdown item or active button if True.
- templateitemname
Parent:layout.updatemenus[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- type
Parent:layout.updatemenus[]
Type: enumerated , one of ("dropdown"
|"buttons"
)
Default:"dropdown"
Determines whether the buttons are accessible via a dropdown menu or whether the buttons are stacked horizontally or vertically
- visible
Parent:layout.updatemenus[]
Type: booleanDetermines whether or not the update menu is visible.
- x
Parent:layout.updatemenus[]
Type: number between or equal to -2 and 3
Default:-0.05
Sets the x position (in normalized coordinates) of the update menu.
- xanchor
Parent:layout.updatemenus[]
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"right"
Sets the update menu's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector.
- y
Parent:layout.updatemenus[]
Type: number between or equal to -2 and 3
Default:1
Sets the y position (in normalized coordinates) of the update menu.
- yanchor
Parent:layout.updatemenus[]
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"top"
Sets the update menu's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector.
- active
- sliders
Code:fig.update_layout(sliders=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- active
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:0
Determines which button (by index starting from 0) is considered active.
- activebgcolor
Parent:layout.sliders[]
Type: color
Default:"#dbdde0"
Sets the background color of the slider grip while dragging.
- bgcolor
Parent:layout.sliders[]
Type: color
Default:"#f8fafc"
Sets the background color of the slider.
- bordercolor
Parent:layout.sliders[]
Type: color
Default:"#bec8d9"
Sets the color of the border enclosing the slider.
- borderwidth
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:1
Sets the width (in px) of the border enclosing the slider.
- currentvalue
Parent:layout.sliders[]
Type: dict containing one or more of the keys listed below.- font
Parent:layout.sliders[].currentvalue
Type: dict containing one or more of the keys listed below.Sets the font of the current value label text.
- color
Parent:layout.sliders[].currentvalue.font
Type: color - family
Parent:layout.sliders[].currentvalue.font
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Parent:layout.sliders[].currentvalue.font
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Parent:layout.sliders[].currentvalue.font
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Parent:layout.sliders[].currentvalue.font
Type: number greater than or equal to 1 - style
Parent:layout.sliders[].currentvalue.font
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Parent:layout.sliders[].currentvalue.font
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Parent:layout.sliders[].currentvalue.font
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Parent:layout.sliders[].currentvalue.font
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- offset
Parent:layout.sliders[].currentvalue
Type: number
Default:10
The amount of space, in pixels, between the current value label and the slider.
- prefix
Parent:layout.sliders[].currentvalue
Type: stringWhen currentvalue.visible is True, this sets the prefix of the label.
- suffix
Parent:layout.sliders[].currentvalue
Type: stringWhen currentvalue.visible is True, this sets the suffix of the label.
- visible
Parent:layout.sliders[].currentvalue
Type: boolean
Default:True
Shows the currently-selected value above the slider.
- xanchor
Parent:layout.sliders[].currentvalue
Type: enumerated , one of ("left"
|"center"
|"right"
)
Default:"left"
The alignment of the value readout relative to the length of the slider.
- font
- font
Parent:layout.sliders[]
Type: dict containing one or more of the keys listed below.Sets the font of the slider step labels.
- color
Parent:layout.sliders[].font
Type: color - family
Parent:layout.sliders[].font
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".
- lineposition
Parent:layout.sliders[].font
Type: flaglist string. Any combination of"under"
,"over"
,"through"
joined with a"+"
OR"none"
.
Examples:"under"
,"over"
,"under+over"
,"under+over+through"
,"none"
Default:"none"
Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Parent:layout.sliders[].font
Type: string
Default:"none"
Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Parent:layout.sliders[].font
Type: number greater than or equal to 1 - style
Parent:layout.sliders[].font
Type: enumerated , one of ("normal"
|"italic"
)
Default:"normal"
Sets whether a font should be styled with a normal or italic face from its family.
- textcase
Parent:layout.sliders[].font
Type: enumerated , one of ("normal"
|"word caps"
|"upper"
|"lower"
)
Default:"normal"
Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- variant
Parent:layout.sliders[].font
Type: enumerated , one of ("normal"
|"small-caps"
|"all-small-caps"
|"all-petite-caps"
|"petite-caps"
|"unicase"
)
Default:"normal"
Sets the variant of the font.
- weight
Parent:layout.sliders[].font
Type: integer between or equal to 1 and 1000
Default:normal
Sets the weight (or boldness) of the font.
- color
- len
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:1
Sets the length of the slider This measure excludes the padding of both ends. That is, the slider's length is this length minus the padding on both ends.
- lenmode
Parent:layout.sliders[]
Type: enumerated , one of ("fraction"
|"pixels"
)
Default:"fraction"
Determines whether this slider length is set in units of plot "fraction" or in "pixels. Use `len` to set the value.
- minorticklen
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:4
Sets the length in pixels of minor step tick marks
- name
Parent:layout.sliders[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- pad
Parent:layout.sliders[]
Type: dict containing one or more of the keys listed below.Set the padding of the slider component along each side.
- b
Parent:layout.sliders[].pad
Type: number
Default:0
The amount of padding (in px) along the bottom of the component.
- l
Parent:layout.sliders[].pad
Type: number
Default:0
The amount of padding (in px) on the left side of the component.
- r
Parent:layout.sliders[].pad
Type: number
Default:0
The amount of padding (in px) on the right side of the component.
- t
Parent:layout.sliders[].pad
Type: number
Default:20
The amount of padding (in px) along the top of the component.
- b
- steps
Parent:layout.sliders[]
Type: list of dict where each dict has one or more of the keys listed below.- args
Parent:layout.sliders[].steps[]
Type: listSets the arguments values to be passed to the Plotly method set in `method` on slide.
- execute
Parent:layout.sliders[].steps[]
Type: boolean
Default:True
When True, the API method is executed. When False, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_sliderchange` method and executing the API command manually without losing the benefit of the slider automatically binding to the state of the plot through the specification of `method` and `args`.
- label
Parent:layout.sliders[].steps[]
Type: stringSets the text label to appear on the slider
- method
Parent:layout.sliders[].steps[]
Type: enumerated , one of ("restyle"
|"relayout"
|"animate"
|"update"
|"skip"
)
Default:"restyle"
Sets the Plotly method to be called when the slider value is changed. If the `skip` method is used, the API slider will function as normal but will perform no API calls and will not bind automatically to state updates. This may be used to create a component interface and attach to slider events manually via JavaScript.
- name
Parent:layout.sliders[].steps[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- templateitemname
Parent:layout.sliders[].steps[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- value
Parent:layout.sliders[].steps[]
Type: stringSets the value of the slider step, used to refer to the step programatically. Defaults to the slider label if not provided.
- visible
Parent:layout.sliders[].steps[]
Type: boolean
Default:True
Determines whether or not this step is included in the slider.
- args
- templateitemname
Parent:layout.sliders[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- tickcolor
Parent:layout.sliders[]
Type: color
Default:"#333"
Sets the color of the border enclosing the slider.
- ticklen
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:7
Sets the length in pixels of step tick marks
- tickwidth
Parent:layout.sliders[]
Type: number greater than or equal to 0
Default:1
Sets the tick width (in px).
- transition
Parent:layout.sliders[]
Type: dict containing one or more of the keys listed below.- duration
Parent:layout.sliders[].transition
Type: number greater than or equal to 0
Default:150
Sets the duration of the slider transition
- easing
Parent:layout.sliders[].transition
Type: enumerated , one of ("linear"
|"quad"
|"cubic"
|"sin"
|"exp"
|"circle"
|"elastic"
|"back"
|"bounce"
|"linear-in"
|"quad-in"
|"cubic-in"
|"sin-in"
|"exp-in"
|"circle-in"
|"elastic-in"
|"back-in"
|"bounce-in"
|"linear-out"
|"quad-out"
|"cubic-out"
|"sin-out"
|"exp-out"
|"circle-out"
|"elastic-out"
|"back-out"
|"bounce-out"
|"linear-in-out"
|"quad-in-out"
|"cubic-in-out"
|"sin-in-out"
|"exp-in-out"
|"circle-in-out"
|"elastic-in-out"
|"back-in-out"
|"bounce-in-out"
)
Default:"cubic-in-out"
Sets the easing function of the slider transition
- duration
- visible
Parent:layout.sliders[]
Type: boolean
Default:True
Determines whether or not the slider is visible.
- x
Parent:layout.sliders[]
Type: number between or equal to -2 and 3
Default:0
Sets the x position (in normalized coordinates) of the slider.
- xanchor
Parent:layout.sliders[]
Type: enumerated , one of ("auto"
|"left"
|"center"
|"right"
)
Default:"left"
Sets the slider's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector.
- y
Parent:layout.sliders[]
Type: number between or equal to -2 and 3
Default:0
Sets the y position (in normalized coordinates) of the slider.
- yanchor
Parent:layout.sliders[]
Type: enumerated , one of ("auto"
|"top"
|"middle"
|"bottom"
)
Default:"top"
Sets the slider's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector.
- active
- selections
Code:fig.update_layout(selections=list(...))
Type: list of dict where each dict has one or more of the keys listed below.- line
Parent:layout.selections[]
Type: dict containing one or more of the keys listed below.- color
Parent:layout.selections[].line
Type: colorSets the line color.
- dash
Parent:layout.selections[].line
Type: string
Default:"dot"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
- width
Parent:layout.selections[].line
Type: number greater than or equal to 1
Default:1
Sets the line width (in px).
- color
- name
Parent:layout.selections[]
Type: stringWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: False` or `enabled: False` to hide it). Has no effect outside of a template.
- opacity
Parent:layout.selections[]
Type: number between or equal to 0 and 1
Default:0.7
Sets the opacity of the selection.
- path
Parent:layout.selections[]
Type: stringFor `type` "path" - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z.
- templateitemname
Parent:layout.selections[]
Type: stringUsed to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: False` or `enabled: False` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: True`.
- type
Parent:layout.selections[]
Type: enumerated , one of ("rect"
|"path"
)Specifies the selection type to be drawn. If "rect", a rectangle is drawn linking (`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`) and (`x0`,`y1`). If "path", draw a custom SVG path using `path`.
- x0
Parent:layout.selections[]
Type: number or categorical coordinate stringSets the selection's starting x position.
- x1
Parent:layout.selections[]
Type: number or categorical coordinate stringSets the selection's end x position.
- xref
Parent:layout.selections[]
Type: enumerated , one of ("paper"
|"/^x([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the selection's x coordinate axis. If set to a x axis id (e.g. "x" or "x2"), the `x` position refers to a x coordinate. If set to "paper", the `x` position refers to the distance from the left of the plotting area in normalized coordinates where "0" ("1") corresponds to the left (right). If set to a x axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the left of the domain of that axis: e.g., "x2 domain" refers to the domain of the second x axis and a x position of 0.5 refers to the point between the left and the right of the domain of the second x axis.
- y0
Parent:layout.selections[]
Type: number or categorical coordinate stringSets the selection's starting y position.
- y1
Parent:layout.selections[]
Type: number or categorical coordinate stringSets the selection's end y position.
- yref
Parent:layout.selections[]
Type: enumerated , one of ("paper"
|"/^y([2-9]|[1-9][0-9]+)?( domain)?$/"
)Sets the selection's x coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.
- line
- hidesources
Code:fig.update_layout(hidesources=<VALUE>)
Type: booleanDetermines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise).
- scattergap
Parent:layout
Type: number between or equal to 0 and 1Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`.
- scattermode
Parent:layout
Type: enumerated , one of ("group"
|"overlay"
)
Default:"overlay"
Determines how scatter points at the same location coordinate are displayed on the graph. With "group", the scatter points are plotted next to one another centered around the shared location. With "overlay", the scatter points are plotted over one another, you might need to reduce "opacity" to see multiple scatter points.
- barcornerradius
Parent:layout
Type: number or categorical coordinate stringSets the rounding of bar corners. May be an integer number of pixels, or a percentage of bar width (as a string ending in %).
- bargap
Parent:layout
Type: number between or equal to 0 and 1Sets the gap (in plot fraction) between bars of adjacent location coordinates.
- bargroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0
Sets the gap (in plot fraction) between bars of the same location coordinate.
- barmode
Parent:layout
Type: enumerated , one of ("stack"
|"group"
|"overlay"
|"relative"
)
Default:"group"
Determines how bars at the same location coordinate are displayed on the graph. With "stack", the bars are stacked on top of one another With "relative", the bars are stacked on top of one another, with negative values below the axis, positive values above With "group", the bars are plotted next to one another centered around the shared location. With "overlay", the bars are plotted over one another, you might need to reduce "opacity" to see multiple bars.
- barnorm
Parent:layout
Type: enumerated , one of (""
|"fraction"
|"percent"
)
Default:""
Sets the normalization for bar traces on the graph. With "fraction", the value of each bar is divided by the sum of all values at that location coordinate. "percent" is the same but multiplied by 100 to show percentages.
- extendpiecolors
Parent:layout
Type: boolean
Default:True
If `True`, the pie slice colors (whether given by `piecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `False` to disable. Colors provided in the trace, using `marker.colors`, are never extended.
-
Parent:layout
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.hiddenlabels is the funnelarea & pie chart analog of visible:'legendonly' but it can contain many labels, and can simultaneously hide slices from several pies/funnelarea charts
- piecolorway
Parent:layout
Type: colorlistSets the default pie slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendpiecolors`.
- boxgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have "width" set.
- boxgroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have "width" set.
- boxmode
Parent:layout
Type: enumerated , one of ("group"
|"overlay"
)
Default:"overlay"
Determines how boxes at the same location coordinate are displayed on the graph. If "group", the boxes are plotted next to one another centered around the shared location. If "overlay", the boxes are plotted over one another, you might need to set "opacity" to see them multiple boxes. Has no effect on traces that have "width" set.
- violingap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between violins of adjacent location coordinates. Has no effect on traces that have "width" set.
- violingroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between violins of the same location coordinate. Has no effect on traces that have "width" set.
- violinmode
Parent:layout
Type: enumerated , one of ("group"
|"overlay"
)
Default:"overlay"
Determines how violins at the same location coordinate are displayed on the graph. If "group", the violins are plotted next to one another centered around the shared location. If "overlay", the violins are plotted over one another, you might need to set "opacity" to see them multiple violins. Has no effect on traces that have "width" set.
- barcornerradius
Parent:layout
Type: number or categorical coordinate stringSets the rounding of bar corners. May be an integer number of pixels, or a percentage of bar width (as a string ending in %).
- bargap
Parent:layout
Type: number between or equal to 0 and 1Sets the gap (in plot fraction) between bars of adjacent location coordinates.
- bargroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0
Sets the gap (in plot fraction) between bars of the same location coordinate.
- barmode
Parent:layout
Type: enumerated , one of ("stack"
|"group"
|"overlay"
|"relative"
)
Default:"group"
Determines how bars at the same location coordinate are displayed on the graph. With "stack", the bars are stacked on top of one another With "relative", the bars are stacked on top of one another, with negative values below the axis, positive values above With "group", the bars are plotted next to one another centered around the shared location. With "overlay", the bars are plotted over one another, you might need to reduce "opacity" to see multiple bars.
- barnorm
Parent:layout
Type: enumerated , one of (""
|"fraction"
|"percent"
)
Default:""
Sets the normalization for bar traces on the graph. With "fraction", the value of each bar is divided by the sum of all values at that location coordinate. "percent" is the same but multiplied by 100 to show percentages.
- boxgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have "width" set.
- boxgroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.3
Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have "width" set.
- boxmode
Parent:layout
Type: enumerated , one of ("group"
|"overlay"
)
Default:"overlay"
Determines how boxes at the same location coordinate are displayed on the graph. If "group", the boxes are plotted next to one another centered around the shared location. If "overlay", the boxes are plotted over one another, you might need to set "opacity" to see them multiple boxes. Has no effect on traces that have "width" set.
- waterfallgap
Parent:layout
Type: number between or equal to 0 and 1Sets the gap (in plot fraction) between bars of adjacent location coordinates.
- waterfallgroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0
Sets the gap (in plot fraction) between bars of the same location coordinate.
- waterfallmode
Parent:layout
Type: enumerated , one of ("group"
|"overlay"
)
Default:"group"
Determines how bars at the same location coordinate are displayed on the graph. With "group", the bars are plotted next to one another centered around the shared location. With "overlay", the bars are plotted over one another, you might need to reduce "opacity" to see multiple bars.
- funnelgap
Parent:layout
Type: number between or equal to 0 and 1Sets the gap (in plot fraction) between bars of adjacent location coordinates.
- funnelgroupgap
Parent:layout
Type: number between or equal to 0 and 1
Default:0
Sets the gap (in plot fraction) between bars of the same location coordinate.
- funnelmode
Parent:layout
Type: enumerated , one of ("stack"
|"group"
|"overlay"
)
Default:"stack"
Determines how bars at the same location coordinate are displayed on the graph. With "stack", the bars are stacked on top of one another With "group", the bars are plotted next to one another centered around the shared location. With "overlay", the bars are plotted over one another, you might need to reduce "opacity" to see multiple bars.
- extendfunnelareacolors
Parent:layout
Type: boolean
Default:True
If `True`, the funnelarea slice colors (whether given by `funnelareacolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `False` to disable. Colors provided in the trace, using `marker.colors`, are never extended.
- funnelareacolorway
Parent:layout
Type: colorlistSets the default funnelarea slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendfunnelareacolors`.
-
Parent:layout
Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.hiddenlabels is the funnelarea & pie chart analog of visible:'legendonly' but it can contain many labels, and can simultaneously hide slices from several pies/funnelarea charts
- bargap
Parent:layout
Type: number between or equal to 0 and 1
Default:0.1
Sets the gap between bars of adjacent location coordinates. Values are unitless, they represent fractions of the minimum difference in bar positions in the data.
- barmode
Parent:layout
Type: enumerated , one of ("stack"
|"overlay"
)
Default:"stack"
Determines how bars at the same location coordinate are displayed on the graph. With "stack", the bars are stacked on top of one another With "overlay", the bars are plotted over one another, you might need to reduce "opacity" to see multiple bars.
- extendsunburstcolors
Parent:layout
Type: boolean
Default:True
If `True`, the sunburst slice colors (whether given by `sunburstcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `False` to disable. Colors provided in the trace, using `marker.colors`, are never extended.
- sunburstcolorway
Parent:layout
Type: colorlistSets the default sunburst slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendsunburstcolors`.
- extendtreemapcolors
Parent:layout
Type: boolean
Default:True
If `True`, the treemap slice colors (whether given by `treemapcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `False` to disable. Colors provided in the trace, using `marker.colors`, are never extended.
- treemapcolorway
Parent:layout
Type: colorlistSets the default treemap slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendtreemapcolors`.
- extendiciclecolors
Parent:layout
Type: boolean
Default:True
If `True`, the icicle slice colors (whether given by `iciclecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `False` to disable. Colors provided in the trace, using `marker.colors`, are never extended.
- iciclecolorway
Parent:layout
Type: colorlistSets the default icicle slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendiciclecolors`.