Skip to content

Commit cda6763

Browse files
neutrinocerosPuneethaPai
authored andcommitted
DOC: clarify boxplot whiskers extension (#34070)
1 parent 4ab071f commit cda6763

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/plotting/_core.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ def hist_frame(
216216
groups of numerical data through their quartiles.
217217
The box extends from the Q1 to Q3 quartile values of the data,
218218
with a line at the median (Q2). The whiskers extend from the edges
219-
of box to show the range of the data. The position of the whiskers
220-
is set by default to `1.5 * IQR (IQR = Q3 - Q1)` from the edges of the box.
221-
Outlier points are those past the end of the whiskers.
219+
of box to show the range of the data. By default, they extend no more than
220+
`1.5 * IQR (IQR = Q3 - Q1)` from the edges of the box, ending at the farthest
221+
data point within that interval. Outliers are plotted as separate dots.
222222
223223
For further details see
224224
Wikipedia's entry for `boxplot <https://en.wikipedia.org/wiki/Box_plot>`_.

0 commit comments

Comments
 (0)