matplotlib/matplotlib — pull request #906 by phobson (2012-05-27 16:36:59+00:00)
Title: Manual boxplots 2

First, here's a test script: https://gist.github.com/2814818

I know I've submitted at least one other PR for this, but this time I've think I've got it right (or at least much closer).

Basically, the user provides a list of medians and confidence intervals where (if using numpy arrays)
usermedians.shape = (N,)
conf_intervals.shape = (N,2)

and the data to be plotted has: data.shape = (M,N).

All of this allows the user to compute the medians and its confidence intervals outside of the boxplot function using more statistically robust methods of his or her choice.

I've used a lot of `assert` statements to verify that the usermedians and conf_intervals inputs are compatible with the data being plotted (`x` in the axes.boxplot call signature).

Hope this is useful and can be incorporated into the library.

Thanks for all of the hard work
-paul