2008/4/24 Jarrod Millman <millman@berkeley.edu>:
On Thu, Apr 24, 2008 at 1:22 PM, David Huard wrote:+1
> 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
http://cirl.berkeley.edu/
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion