[matplotlib-devel] imshow without resampling in the ps backend.

2009-12-15 Thread Jae-Joon Lee
A patch that enables drawing image in ps backend without resampling is committed in r8035. So, please test it if you're interested. The raw image is to be used only when interpolation=="nearest" and there is only one image. While extending this to other backend such as pdf and svg should be straig

Re: [matplotlib-devel] boxplot notch

2009-12-15 Thread Fernando Perez
On Tue, Dec 15, 2009 at 9:57 AM, Andrew Straw wrote: > >   notch_max = med + 1.57*iq/np.sqrt(row) >   notch_min = med - 1.57*iq/np.sqrt(row) > > Is this code actually calculating a meaningful value? If so, what? > >From the statistics ignoramus in the room, so take this with a grain of salt... I

[matplotlib-devel] boxplot notch

2009-12-15 Thread Andrew Straw
Hi, I've been reading about box plots and examining the source code for boxplot() lately. While there doesn't seem to be a convention about what the notch specifies, I can't find any justification (or text describing) what exactly the MPL notch is. The source code is: # get median and quart

[matplotlib-devel] should mlab.prctile(x,50) == np.median(x)?

2009-12-15 Thread Andrew Straw
The following (uncommitted) test currently fails. The reason is that mlab.prctile(x,50) doesn't handle even length sequences according to the numpy and wikipedia convention for the definition of median. Do we agree that it should pass? Not only would I commit the test, but I also have a fix to