Sounds good, diff on the way.


On Tue, Oct 15, 2013 at 12:25 PM, Thomas A Caswell <notifications@github.com
> wrote:

> In lib/matplotlib/axes/_axes.py:
>
> > @@ -2996,6 +3024,15 @@ def computeConfInterval(data, med, iq, bootstrap):
> >                  if usermedians[i] is not None:
> >                      med = usermedians[i]
> >
> > +            if averages:
> > +                # get average
> > +                avg = np.average(d)
> > +
> > +                # replace with input averages if available
> > +                if useraverages is not None:
> > +                    if useraverages[i] is not None:
> > +                        avg = useraverages[i]
> > +
>
> This is a minor point, but would it make more sense to re-arrange this
> logic so that the average is only computed if needed?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/matplotlib/matplotlib/pull/2520/files#r6974227>
> .
>



-- 
Miguel Gaiowski