[Numpy-svn] [numpy/numpy] 8024c2: DEP: deprecate normed kw in histogram and restore ...

noreply@githu... noreply@githu...
Wed Mar 30 12:22:52 CDT 2011


Branch: refs/heads/maintenance/1.6.x
Home:   https://github.com/numpy/numpy

Commit: 8024c27e498688e08ecc7771db8374b827598ca2
    https://github.com/numpy/numpy/commit/8024c27e498688e08ecc7771db8374b827598ca2
Author: Ralf Gommers <ralf.gommers@googlemail.com>
Date:   2011-03-30 (Wed, 30 Mar 2011)

Changed paths:
  M doc/release/1.6.0-notes.rst
  M numpy/lib/function_base.py
  M numpy/lib/tests/test_function_base.py

Log Message:
-----------
DEP: deprecate normed kw in histogram and restore its old behavior. Introduce
density kw.

This reverts part of the following commits:
    3743430e
    400a2a67
    3743430e
Behavior for normed keyword is again the same as it was in Numpy 1.5. The
desired behavior (probability density) is implemented by the new density
keyword, which reflects the functionality better than "normed".

For a discussion on this issue, see the Numpy mailing list thread started on
Aug 6th, 2010.

(backport of 3ebc348)




More information about the Numpy-svn mailing list