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

Skip to content

Commit dbd89a3

Browse files
DOC boxplot whis parameter
Fixed the typo on line 3506, then noticed the suggestion on line 3513 seems to be redundant with the `'range'` option which I assume was added later?
1 parent 2c22cc6 commit dbd89a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3503,15 +3503,14 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
35033503
everything is drawn horizontally.
35043504
35053505
whis : float, sequence, or string (default = 1.5)
3506-
As a float, determines the reach of the whiskers to the beyond the
3506+
As a float, determines the reach of the whiskers beyond the
35073507
first and third quartiles. In other words, where IQR is the
35083508
interquartile range (`Q3-Q1`), the upper whisker will extend to
35093509
last datum less than `Q3 + whis*IQR`). Similarly, the lower whisker
35103510
will extend to the first datum greater than `Q1 - whis*IQR`.
35113511
Beyond the whiskers, data
35123512
are considered outliers and are plotted as individual
3513-
points. Set this to an unreasonably high value to force the
3514-
whiskers to show the min and max values. Alternatively, set
3513+
points. Alternatively, set
35153514
this to an ascending sequence of percentile (e.g., [5, 95])
35163515
to set the whiskers at specific percentiles of the data.
35173516
Finally, ``whis`` can be the string ``'range'`` to force the

0 commit comments

Comments
 (0)