summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-05-14 00:26:02 -0700
committerEric Wieser <wieser.eric@gmail.com>2018-05-14 00:26:02 -0700
commit63cd4da8333a799655b797ca0aa5cbac9501070e (patch)
tree2397c45fe9dc8bc4872ccf6b11d632c81e1d66e1
parent8ed017a30c8ec60f17538c585f87415a1ca989fc (diff)
downloadnumpy-63cd4da8333a799655b797ca0aa5cbac9501070e.tar.gz
DOC: Add release notes for histogram[dd] changes.
This covers the changes made in gh-10324 and gh-11023
-rw-r--r--doc/release/1.15.0-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst
index a6b23b892..f57a89ee6 100644
--- a/doc/release/1.15.0-notes.rst
+++ b/doc/release/1.15.0-notes.rst
@@ -198,6 +198,13 @@ passed explicitly, and are not yet computed automatically.
No longer does an IQR of 0 result in `n_bins=1`, rather the number of bins
chosen is related to the data size in this situation.
+``histogram`` and ``histogramdd`` return edges matching the float type of the data
+----------------------------------------------------------------------------------
+When passed ``float16``, ``np.float32``, or ``np.longdouble`` data, the
+returned edges are now of the same dtype. Previously, ``histogram`` would only
+return the same type if explicit bins were given, and ``histogram`` would
+produce ``float64`` bins no matter what the inputs.
+
``histogramdd`` allows explicit ranges to be given in a subset of axes
----------------------------------------------------------------------
The ``range`` argument of `histogramdd` can now contain ``None`` values to