From 9e0f7fe86b17696ae38232e6ddfaac7931754c8d Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Tue, 29 Mar 2016 14:48:19 +0100 Subject: [PATCH 1/2] Additional Options is not valid numpydoc but Other Parameters is --- lib/matplotlib/axes/_axes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 5ee0db23b0e8..487ce5968dda 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -3159,8 +3159,8 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None, ``shownotches`` is also True. Otherwise, means will be shown as points. - Additional Options - --------------------- + Other Parameters + ---------------- The following boolean options toggle the drawing of individual components of the boxplots: - showcaps: the caps on the ends of whiskers From c192bcc795729085c22900d6fff93249f092f2b4 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Tue, 29 Mar 2016 14:58:54 +0100 Subject: [PATCH 2/2] Convert Other Parameters to numpy doc style --- lib/matplotlib/axes/_axes.py | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 487ce5968dda..e7e223841cff 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -3161,22 +3161,26 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None, Other Parameters ---------------- - The following boolean options toggle the drawing of individual - components of the boxplots: - - showcaps: the caps on the ends of whiskers - (default is True) - - showbox: the central box (default is True) - - showfliers: the outliers beyond the caps (default is True) - - showmeans: the arithmetic means (default is False) - - The remaining options can accept dictionaries that specify the - style of the individual artists: - - capprops - - boxprops - - whiskerprops - - flierprops - - medianprops - - meanprops + showcaps : bool, optional (True) + Show the caps on the ends of whiskers. + showbox : bool, optional (True) + Show the central box. + showfliers : bool, optional (True) + Show the outliers beyond the caps. + showmeans : bool, optional (False) + Show the arithmetic means. + capprops : dict, optional (None) + Specifies the style of the caps. + boxprops : dict, optional (None) + Specifies the style of the box. + whiskerprops : dict, optional (None) + Specifies the style of the whiskers. + flierprops : dict, optional (None) + Specifies the style of the fliers. + medianprops : dict, optional (None) + Specifies the style of the median. + meanprops : dict, optional (None) + Specifies the style of the mean. Returns -------