boxplot_wrapper¶
-
boxplot_wrapper
(self, func, *args, color='k', fill=True, fillcolor=None, fillalpha=0.7, lw=None, linewidth=None, orientation=None, marker=None, markersize=None, boxcolor=None, boxlw=None, capcolor=None, caplw=None, meancolor=None, meanlw=None, mediancolor=None, medianlw=None, whiskercolor=None, whiskerlw=None, fliercolor=None, flierlw=None, **kwargs)[source]¶ Adds convenient keyword arguments and changes the default boxplot style.
Note
This function wraps
boxplot
- Parameters
*args (1D or 2D ndarray) – The data array.
color (color-spec, optional) – The color of all objects.
fill (bool, optional) – Whether to fill the box with a color.
fillcolor (color-spec, optional) – The fill color for the boxes. Default is the next color cycler color.
fillalpha (float, optional) – The opacity of the boxes. Default is
1
.lw, linewidth (float, optional) – The linewidth of all objects.
vert (bool, optional) – If
False
, box plots are drawn horizontally.orientation ({None, ‘horizontal’, ‘vertical’}, optional) – Alternative to the native
vert
keyword arg. Controls orientation.marker (marker-spec, optional) – Marker style for the ‘fliers’, i.e. outliers.
markersize (float, optional) – Marker size for the ‘fliers’, i.e. outliers.
boxcolor, capcolor, meancolor, mediancolor, whiskercolor (color-spec, optional) – The color of various boxplot components. These are shorthands so you don’t have to pass e.g. a
boxprops
dictionary.boxlw, caplw, meanlw, medianlw, whiskerlw (float, optional) – The line width of various boxplot components. These are shorthands so you don’t have to pass e.g. a
boxprops
dictionary.
- Other Parameters
**kwargs – Passed to the matplotlib plotting method.