Re: [matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Thomas A Caswell
As a side note, adding jitter has been discussed before (https://github.com/matplotlib/matplotlib/issues/2750) in a slightly different context and the consensus was to _not_ add it to mpl (as it is a non-deterministic data transformation). Tom On Sat, Feb 15, 2014 at 10:45 PM, Yaroslav Halchenko

Re: [matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Yaroslav Halchenko
On Sat, 15 Feb 2014, Paul Hobson wrote: >Those figures look great. Seaborn has some similar functionality (scroll >down a bit): > > [1]http://nbviewer.ipython.org/github/mwaskom/seaborn/blob/master/examples/plotting_distributions.ipynb#Comparing-distributions:-boxplot-and-violinplot r

Re: [matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Paul Hobson
Yaroslav, Those figures look great. Seaborn has some similar functionality (scroll down a bit): http://nbviewer.ipython.org/github/mwaskom/seaborn/blob/master/examples/plotting_distributions.ipynb#Comparing-distributions:-boxplot-and-violinplot The main point of the most recent overhaul of boxplo

Re: [matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Yaroslav Halchenko
Hi Paul, On Sat, 15 Feb 2014, Paul Hobson wrote: >As the author of the fix and the recent overhaul to boxplots Thanks for that! > I can say with certainty that R is wrong! ;-) phew -- thanks ;) >More seriously, the main thing that I take away from Tukey's paper about >boxplots, is

Re: [matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Paul Hobson
Hey Yaroslav, As the author of the fix and the recent overhaul to boxplots, I can say with certainty that R is wrong! ;-) More seriously, the main thing that I take away from Tukey's paper about boxplots, is that there are many valid ways to draw them. I personally set up the new boxplot function

[matplotlib-devel] is R wrong? (boxplot)

2014-02-15 Thread Yaroslav Halchenko
Dear Matplotlib gurus, Following the code to demonstrate recent(ish) fix for whiskers in boxplots: https://github.com/matplotlib/matplotlib/pull/1855 I have compared it against R's boxplot. Description seems to correspond, and all the percentiles are the same in numpy and R (3.0.1) but R's boxplo