Histogram2DContour
Properties
Determines whether or not the contour level attributes are picked by an algorithm. If "true" (default), the number of contour levels can be set in ncontours
. If "false", set the contour level attributes in contours
.
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
. Default: "".
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".
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.
Determines 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.
Enumerated , one of ( "increasing" | "decreasing" ) 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. Default: increasing.
Enumerated , one of ( "count" | "sum" | "avg" | "min" | "max" ) 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. Default: "count"
Enumerated, one of ( "empty" | "percent" | "probability" | "density" | "probability density" ) Specifies the type of normalization used for this histogram trace. If "empty", 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). Default: "empty".
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.
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.
Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items. Default: ""
Sets the orientation of the plot(s). If "vertical" ("horizontal"), the data is visualized along the vertical (horizontal).
Reverses 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.
If there are multiple violins that should be sized according 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. Default: ""
Determines whether or not an item corresponding to this trace is shown in the legend. Default: true
Sets text elements associated with each (x,y) pair. The same string appears over all the data points. If trace hoverinfo
contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
Sets the position of the text
elements with respects to the (x,y) coordinates. Default: "middle center".
Sets the positions of the text
elements with respects to the (x,y) coordinates. Default: "middle center".
Sets the x coordinates.
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
Sets the y coordinates.
Set a group of histogram traces which will have compatible x-bin settings. Using ybingroup
, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same ybingroup
value can be used to set (1D) histogram bingroup
Z coordinates
Functions
Fill trace x and y with values based on given xs and a function for y values. Old values are erased.
Fill trace x and y with values based on a given integer xRange and a numeric function. Old values are erased.
A safe Number ray
A safe Number range
Convert any type-safe configurator to json string