2008/4/24 Jarrod Millman <[EMAIL PROTECTED]>:

> On Thu, Apr 24, 2008 at 1:22 PM, David Huard wrote:
> >  Assuming we want the next version to : ignore values outside of range
> and
> > accept and return the bin edges instead of the left edges, here could be
> the
> > new signature for 1.1:
> >  h, edges = histogram(a, bins=10, normed=False, range=None,
> normed=False,
> > new=False)
> >
> >  If new=False, return the histogram and the left edges, with a warning
> that
> > in the next version, the edges will be returned. If new=True, return the
> > histogram and the edges.
> >  If range is given explicitly , raise a warning saying that in the next
> > version, the outliers will be ignored.  To ignore outliers, use
> new=True.
> >  If bins is a sequence, raise an error saying that bins should be an
> > integer. To use explicit edges, use new=True.
> >
> >  In 1.2, set new=True as the default, and in 2.3, remove new altogether.
>
> +1
> That sounds fine to me assuming 2.3 is 1.3.
>

Indeed.

Done in r5085. I added a bunch of tests, but I'd appreciate if someone could
double check before the release. This is not the time to introduce new bugs.


Hopefully this is the end of the histogram saga.

David


> --
> Jarrod Millman
> Computational Infrastructure for Research Labs
> 10 Giannini Hall, UC Berkeley
> phone: 510.643.4014
> http://cirl.berkeley.edu/
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to