[Numpy-discussion] Ticket #605 Incorrect behavior of numpy.histogram

James Philbin philbinj at gmail.com
Sat Apr 5 15:17:23 EDT 2008


The matlab behaviour is to extend the first bin to include all data
down to -inf and extend the last bin to handle all data to inf. This
is probably the behaviour with least suprise.

Therefor, I would vote +1 for behaviour #1 by default, +1 for keeping
the old behaviour #2 around as an option and -1 for any extending of
the bins (#3).

James



More information about the NumPy-Discussion mailing list