diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-06-20 19:58:52 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-07-08 18:22:04 +0100 |
commit | 8ea9e8bf13e4292d02e9ea5af2f4d10c07e02459 (patch) | |
tree | 1e21c7154d0010bf463049a8bef49eea3a316f39 /doc | |
parent | 914aabf07548ee3ddf5f3795177273d435a38c14 (diff) | |
download | numpy-8ea9e8bf13e4292d02e9ea5af2f4d10c07e02459.tar.gz |
MAINT: Rename histogramdd's normed argument to density, to match histogram
Fixes gh-4371
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.15.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index cc193530c..d9c7b8ea4 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -278,6 +278,12 @@ The ``range`` argument of `histogramdd` can now contain ``None`` values to indicate that the range for the corresponding axis should be computed from the data. Previously, this could not be specified on a per-axis basis. +The normed arguments of ``histogramdd`` and ``histogram2d`` have been renamed +----------------------------------------------------------------------------- +These arguments are now called ``density``, which is consistent with +``histogram``. The old argument continues to work, but the new name should be +preferred. + ``np.r_`` works with 0d arrays, and ``np.ma.mr_`` works with ``np.ma.masked`` ---------------------------------------------------------------------------- 0d arrays passed to the `r_` and `mr_` concatenation helpers are now treated as |