[Numpy-discussion] numpy release
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,
> 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.
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
More information about the Numpy-discussion