Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39a4784

Browse files
committed
ENH: propagate autorange to boxplot
1 parent 4ef90dd commit 39a4784

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3052,7 +3052,8 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
30523052
meanline=None, showmeans=None, showcaps=None,
30533053
showbox=None, showfliers=None, boxprops=None, labels=None,
30543054
flierprops=None, medianprops=None, meanprops=None,
3055-
capprops=None, whiskerprops=None, manage_xticks=True):
3055+
capprops=None, whiskerprops=None, manage_xticks=True,
3056+
autorange=False):
30563057
"""
30573058
Make a box and whisker plot.
30583059
@@ -3216,7 +3217,7 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
32163217
if bootstrap is None:
32173218
bootstrap = rcParams['boxplot.bootstrap']
32183219
bxpstats = cbook.boxplot_stats(x, whis=whis, bootstrap=bootstrap,
3219-
labels=labels)
3220+
labels=labels, autorange=autorange)
32203221
if notch is None:
32213222
notch = rcParams['boxplot.notch']
32223223
if vert is None:

0 commit comments

Comments
 (0)