Axes.
boxplot
(x, notch=None, sym=None, vert=None, whis=None, positions=None, widths=None, patch_artist=None, bootstrap=None, usermedians=None, conf_intervals=None, meanline=None, showmeans=None, showcaps=None, showbox=None, showfliers=None, boxprops=None, labels=None, flierprops=None, medianprops=None, meanprops=None, capprops=None, whiskerprops=None, manage_xticks=True, autorange=False, zorder=None)¶Make a box and whisker plot.
Call signature:
boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
positions=None, widths=None, patch_artist=False,
bootstrap=None, usermedians=None, conf_intervals=None,
meanline=False, showmeans=False, showcaps=True,
showbox=True, showfliers=True, boxprops=None,
labels=None, flierprops=None, medianprops=None,
meanprops=None, capprops=None, whiskerprops=None,
manage_xticks=True, autorange=False, zorder=None):
Make a box and whisker plot for each column of x
or each
vector in sequence x
. The box extends from the lower to
upper quartile values of the data, with a line at the median.
The whiskers extend from the box to show the range of the
data. Flier points are those past the end of the whiskers.
Parameters: | x : Array or a sequence of vectors.
notch : bool, optional (False)
sym : str, optional
vert : bool, optional (True)
whis : float, sequence, or string (default = 1.5)
bootstrap : int, optional
usermedians : array-like, optional
conf_intervals : array-like, optional
positions : array-like, optional
widths : scalar or array-like
patch_artist : bool, optional (False)
labels : sequence, optional
manage_xticks : bool, optional (True)
autorange : bool, optional (False)
meanline : bool, optional (False)
zorder : scalar, optional (None)
|
---|---|
Returns: | result : dict
|
Other Parameters: | |
The following boolean options toggle the drawing of individual components of the boxplots:
The remaining options can accept dictionaries that specify the style of the individual artists:
|
Notes
In addition to the above described arguments, this function can take a data keyword argument. If such a data argument is given, the following arguments are replaced by data[<arg>]:
Examples
(Source code, png, pdf)