Box
Properties
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".
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.
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.
Do the hover effects highlight individual boxes or sample points or both?
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 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.
Determines 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.
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.
Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). Default: 0.25.
Sets the orientation of the plot(s). If "vertical" ("horizontal"), the data is visualized along the vertical (horizontal).
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://www.amstat.org/publications/jse/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.
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: ""
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.
Array 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.
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 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 lower as the last sample point above 1.5 times the IQR.
Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). Default: 0.5.
Sets the x coordinates.
Sets the y coordinates.
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