You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(1) |
2
(2) |
3
(2) |
4
|
5
(4) |
6
(1) |
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
(4) |
16
(2) |
17
(1) |
18
(1) |
19
(5) |
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
(1) |
28
(1) |
|
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 boxplots was to allow users to just what you describe. The methods plt.boxplot and ax.boxplot now do very little on their own. Input data are passed to matplotlib.cbook.boxplot_stats, that function returns a list of dictionaries of statistics, and then ax.bxp actually does the drawing. All of this is to say that you can write your own function to modify boxplot_stats' output or generate independently the list of dictionaries expected by ax.bxp. The keys of those dictionaries can include: - label -> tick label for the boxplot - mean -> mean value (can plot as a line or point) - median -> 50th percentile - q1 -> first quartile (25th pctl) - q3 -> third quartile (75 (pctl) - cilo -> lower notch around the median - ciho -> upper notch around the median - whislo -> end of the lower whisker - whishi -> end of the upper whisker - fliers -> outliers Basically, you can set the appropriate values to whatever you want to draw boxplots however you wish (like open/close diagrams for pandas). Also, the `whis` kwarg accepted by boxplot and cbook.boxplot_stats can either be a float (1.5 by default), a list of integer percentiles (like 5, 95), or the strings 'range', 'limits', or 'min/max', all of which will extend the whiskers to over all of the data. Since you're running off of master, you should access to this new functionality. Here's a link to the PR that overhauled ax.boxplot and created ax.bxp: https://github.com/matplotlib/matplotlib/pull/2643 Looking at it now -- it looks like cbook.boxplot_stats' docstring got cutoff. I'll pull together a PR to fix that soon. Feel free to hit me up with any other questions! -paul On Sat, Feb 15, 2014 at 2:20 PM, Yaroslav Halchenko <sf...@on...>wrote: > Hi Paul, > > On 2014年2月15日, 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 that there are many valid ways to draw them. I > personally set > > up the new boxplot functionality to take the most basic boxplot > definition > > very literally. My guess is that R is fudging those rules a bit for > the > > purpose of completeness, or aesthetics, or ...(?) > > well -- I was trying to figure out why the divergence from R's boxplot > help, but so far it seemed to match description/definition for boxplot > as in matplotlib. I guess the next step would be to look "inside" > (running apt-get source r-base now ;-) ) > > > Perhaps one can look at the purpose of boxplots in two different > fashions: > > 1) Matplotlib: show some of the data and some basic stats > > 2) R (I'm guession): show how the data are /probably/ distributed.� > > Obviously, I prefer #1. But I'm not going to say that #2 is wrong just > > yet. > > would you may be interested to adopt (or just do independently) an > option to e.g. plot the data point? once I shared this one > http://nbviewer.ipython.org/url/www.onerussian.com/tmp/run_plots.ipynb > and the actual code https://gist.github.com/yarikoptic/9023331 > > I just never got to formalize it into mpl pull request :-/ > -- > Yaroslav O. Halchenko, Ph.D. > http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org > Senior Research Associate, Psychological and Brain Sciences Dept. > Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 > Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 > WWW: http://www.linkedin.com/in/yarik > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >
Hi Paul, On 2014年2月15日, 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 that there are many valid ways to draw them. I personally set > up the new boxplot functionality to take the most basic boxplot definition > very literally. My guess is that R is fudging those rules a bit for the > purpose of completeness, or aesthetics, or ...(?) well -- I was trying to figure out why the divergence from R's boxplot help, but so far it seemed to match description/definition for boxplot as in matplotlib. I guess the next step would be to look "inside" (running apt-get source r-base now ;-) ) > Perhaps one can look at the purpose of boxplots in two different fashions: > 1) Matplotlib: show some of the data and some basic stats > 2) R (I'm guession): show how the data are /probably/ distributed.� > Obviously, I prefer #1. But I'm not going to say that #2 is wrong just > yet. would you may be interested to adopt (or just do independently) an option to e.g. plot the data point? once I shared this one http://nbviewer.ipython.org/url/www.onerussian.com/tmp/run_plots.ipynb and the actual code https://gist.github.com/yarikoptic/9023331 I just never got to formalize it into mpl pull request :-/ -- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Senior Research Associate, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik
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 functionality to take the most basic boxplot definition very literally. My guess is that R is fudging those rules a bit for the purpose of completeness, or aesthetics, or ...(?) Perhaps one can look at the purpose of boxplots in two different fashions: 1) Matplotlib: show some of the data and some basic stats 2) R (I'm guession): show how the data are /probably/ distributed. Obviously, I prefer #1. But I'm not going to say that #2 is wrong just yet. On Sat, Feb 15, 2014 at 5:00 AM, Yaroslav Halchenko <sf...@on...>wrote: > 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 boxplot seems to have extended IQR box > and > still have an upper whisker (corresponds to 9000, which is not within > 75%+1.5*IQR), when it shouldn't: > > http://nbviewer.ipython.org/url/www.onerussian.com/tmp/boxplot-Python-vs-R.ipynb > > is R's plot incorrect or am I missing something (e.g. documented feature > in R's boxplot) warranting such a difference? > > Thanks in advance > -- > Yaroslav O. Halchenko, Ph.D. > http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org > Senior Research Associate, Psychological and Brain Sciences Dept. > Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 > Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 > WWW: http://www.linkedin.com/in/yarik > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >
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 boxplot seems to have extended IQR box and still have an upper whisker (corresponds to 9000, which is not within 75%+1.5*IQR), when it shouldn't: http://nbviewer.ipython.org/url/www.onerussian.com/tmp/boxplot-Python-vs-R.ipynb is R's plot incorrect or am I missing something (e.g. documented feature in R's boxplot) warranting such a difference? Thanks in advance -- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Senior Research Associate, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik