Skip to content

DOC: boxplot docs do not explain what the plot shows at all #8447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
keszybz opened this issue Oct 2, 2014 · 4 comments
Closed

DOC: boxplot docs do not explain what the plot shows at all #8447

keszybz opened this issue Oct 2, 2014 · 4 comments
Labels
Milestone

Comments

@keszybz
Copy link

keszybz commented Oct 2, 2014

Extensive documentation is probably not needed, but at a minimum, the docstring should say

  • what the red line is (median)
  • what the box shows (quartiles)
  • what the whiskers show (?)
  • by what rules the outliers are shown or not

A link to wikipedia and/or matplotlib docs would be nice too.

I could try to contribute this, if it is deemed useful.

@jreback jreback added this to the 0.15.1 milestone Oct 3, 2014
@TomAugspurger
Copy link
Contributor

Sure thing. Feel free to submit a pull request. I think a sentence saying what each element is and a link to the matplotlib docs should suffice.

@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 6, 2015
@Tych0n
Copy link

Tych0n commented Jan 19, 2018

Hi! Do whiskers show +-1.5IQ? Cause i have asymmetrical whiskers:
figure_1

P.S. For future generations. As TomAugspurger mentioned, whiskers are not the ±x(1.5 by default)*IQR limits, but the values of boundary data points within these intervals.

@TomAugspurger
Copy link
Contributor

A link to https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.boxplot.html#matplotlib-axes-axes-boxplot would explain that the whiskers show:

In other words, where IQR is the interquartile range (Q3-Q1), the upper whisker will extend to last datum less than Q3 + whisIQR). Similarly, the lower whisker will extend to the first datum greater than Q1 - whisIQR.

mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 10, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 10, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 11, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 18, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 18, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 18, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 18, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 21, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 21, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 21, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 21, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 21, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Mar 25, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
mabelvj added a commit to mabelvj/pandas that referenced this issue Apr 2, 2018
@jorisvandenbossche
Copy link
Member

Closed by #20152

@jorisvandenbossche jorisvandenbossche modified the milestones: Next Major Release, 0.23.0 Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants