[Numpy-discussion] numpy release

Jarrod Millman millman@berkeley....
Thu Apr 24 14:09:54 CDT 2008

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.

That sounds fine to me assuming 2.3 is 1.3.

Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014

More information about the Numpy-discussion mailing list