s. patch_artist : bool, default: False If `False` produces boxes with the `.Line2D` artist. If `True` produces boxes with the `~matplotlib.patches.Patch` artist. shownotches, showmeans, showcaps, showbox, showfliers : bool Whether to draw the CI notches, the mean value (both default to False), the caps, the box, and the fliers (all three default to True). boxprops, whiskerprops, capprops, flierprops, medianprops, meanprops : dict, optional Artist properties for the boxes, whiskers, caps, fliers, medians, and means. meanline : bool, default: False If `True` (and *showmeans* is `True`), will try to render the mean as a line spanning the full width of the box according to *meanprops*. Not recommended if *shownotches* is also True. Otherwise, means will be shown as points. manage_ticks : bool, default: True If True, the tick locations and labels will be adjusted to match the boxplot positions. zorder : float, default: ``Line2D.zorder = 2`` The zorder of the resulting boxplot. Returns ------- dict A dictionary mapping each component of the boxplot to a list of the `.Line2D` instances created. That dictionary has the following keys (assuming vertical boxplots): - ``boxes``: main bodies of the boxplot showing the quartiles, and the median's confidence intervals if enabled. - ``medians``: horizontal lines at the median of each box. - ``whiskers``: vertical lines up to the last non-outlier data. - ``caps``: horizontal lines at the ends of the whiskers. - ``fliers``: points representing data beyond the whiskers (fliers). - ``means``: points or lines representing the means. Examples -------- .. plot:: gallery/statistics/bxp.py Z