Hi - more generally, is there any way to control the location of the median line, the vertical size of the box and the vertical location of the whiskers?

Thanks - Ariel

On Tue, Feb 23, 2010 at 11:32 AM, <PHobson@geosyntec.com> wrote:

# ~~~~~~~~~~~~~~~~~~~
From: Ben Axelrod [mailto:BAxelrod@coroware.com]
Sent: Tuesday, February 23, 2010 9:31 AM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] boxplot bug

I found an inconsistency with how boxplots are rendered between version 0.99.1 and the svn head.  See attached images.  I have never seen a boxplot cross back on itself like this before.  Is this the expected behavior?
# ~~~~~~~~~~~~~~~~~~~~


Yes it is expected behavior. Confidence intervals around the median can easily go beyond the 1st and 3rd quartiles. If you're not comfortable with this, throw the data into R. I'm confident you'll get a similar result. I believe (not sure) that in the svn version you can specify that the CIs be computed from a bootstrapped median. Doing so might tighten the CIs up a bit.

-Paul H.

Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Matplotlib-users mailing list

Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley