OptionaltypeOptionalmodeOptionalnameOptionaluidOptionalvisibleOptionallineOptionalfillWhat the trace fills towards: tozeroy, tonexty, toself, … Plotly
resolves an unfilled trace to the string 'none' rather than dropping
the attribute, so a filled trace is any other non-empty value.
OptionalstackgroupThe stack this trace belongs to. Plotly stacks scatter traces that name the same group, drawing them as an area chart whose bands sit on one another; an empty or absent value means the trace stands alone.
OptionalgroupnormHow a stack group is rescaled: percent makes each column sum to 100,
fraction to 1. Empty or absent leaves the bands at their own totals.
OptionalxOptionalyOptionalzA heatmap's grid of magnitudes — and a choropleth's flat column of them, which is the same attribute carrying one value per region rather than one per cell.
A grid cell may be null: that is how plotly's own documentation writes a
hole in a field, and the readers here treat any non-number as one.
OptionalxaxisOptionalyaxisOptionalorientationOptionalbaseValue-axis offset every bar-like size is measured from. An ARRAY floats
each bar from its own offset, which is how a schedule is drawn: the bar
starts at base[i] and runs for the duration in x[i].
OptionaltextText drawn at, or associated with, each point. A word cloud is a scatter whose terms live here, and a choropleth names its regions here when the locations themselves are codes.
OptionalhovertextHover-only text. Plotly.py's hover_name resolves to this.
OptionaltextfontGlyph styling for the text marks. An ARRAY of sizes is what makes a text scatter a word cloud: the size is per term rather than per trace.
OptionalcustomdataAuthor-supplied values carried through to hover templates and events.
OptionalmetaPlotly's own arbitrary-metadata attribute, and the slot a co-located
maidr declaration rides in — trace.meta.maidr. Typed unknown
because it is very often a plain string that has nothing to do with
MAIDR; readDeclarationSlot narrows it.
OptionalwidthHow wide each bar is drawn, in position-axis units. Ordinary bar styling
— which is exactly why a non-uniform array is NOT read as a marimekko on
its own. It becomes data only once a trace declares type: 'mosaic'.
OptionalmeasureWhat each step does to the running total: relative contributes,
total restates it, absolute resets it. Parallel to the position
array, and relative where it says nothing.
Optionalerror_Optionalerror_Optionalq1OptionalmedianOptionalq3OptionallowerfenceOptionalupperfenceOptionalmeanOptionalsideWhich half of each violin is drawn. positive is plotly's own ridgeline
recipe: the curves are halved so they can overlap without hiding one
another.
OptionalboxInner box overlay. Plotly draws path.box only when visible is true.
OptionalmeanlineMean line overlay drawn across the violin.
OptionalopenOptionalhighOptionallowOptionalcloseOptionalxbinsOptionalybinsBin bounds for a histogram binned up the y axis. Plotly puts the samples
on y and the counts on x for orientation: 'h', and the bin size
moves to ybins with them.
OptionalhistfuncHow a histogram reduces the samples that fall in a bin. Plotly's default
is 'count', which is why a 2D histogram's cells are counts unless the
trace says otherwise.
OptionallabelsSlice labels, in the order the trace was authored.
OptionalvaluesSlice magnitudes, parallel to labels.
OptionalparentsEach sector's parent, parallel to labels. An empty string means
the sector sits at the root. Plotly matches these against ids when a
trace has them and against labels otherwise.
OptionalidsSector ids, for a hierarchy whose labels repeat. Parallel to labels.
OptionalmaxdepthHow many levels below the entry point are drawn; -1 for all of them.
OptionallevelThe sector the layout is entered at, drawing that subtree alone.
OptionalnodeThe nodes the flows run between.
OptionallinkThe flows themselves, held as three parallel arrays. source and
target are INDICES into node's labels rather than the names a
MAIDR flow carries.
OptionalvalueThe measure a gauge draws.
OptionaltitleWhat the measure is called. Only the indicator traces carry one.
OptionalgaugeThe dial. Present only when mode includes gauge.
OptionaldeltaThe comparison an indicator draws its delta against.
OptionalsubplotWhich polar subplot the trace is drawn on (polar, polar2, …). Polar
traces carry this instead of an xaxis/yaxis pair.
OptionalrRadial coordinates — the magnitude on each spoke.
OptionalthetaAngular coordinates — which spoke each value sits on.
OptionalgeoWhich geo subplot the trace is drawn on (geo, geo2, …). A choropleth
carries this instead of an xaxis/yaxis pair.
OptionallocationsThe regions shaded, named the way locationmode addresses them — an ISO
code, a state name, a GeoJSON feature id. Parallel to the values in z.
OptionaldimensionsOne entry per axis, each carrying the whole column of observations. Plotly stores the transpose of the row-per-observation grid MAIDR reads.
OptionalsortWhether plotly reorders the slices largest-first before drawing them. Defaults to true, so the authored order is NOT the drawn order unless a trace turns this off.
OptionaldomainFraction of the paper the trace occupies, [start, end] in [0, 1] on each
side. A pie is positioned by this rather than by axes, so it is the only
thing that says where one sits relative to its siblings.
OptionalcolorbarOptionalcontoursThe iso-value curves the trace draws.
Line styling.
shapeis how plotly joins consecutive samples:linearandsplineinterpolate, whilehv,vh,hvhandvhvdraw a piecewise-constant staircase.