8000 DOC: Add release notes for histogram[dd] changes. · numpy/numpy@63cd4da · GitHub
[go: up one dir, main page]

Skip to content

Commit 63cd4da

Browse files
committed
DOC: Add release notes for histogram[dd] changes.
This covers the changes made in gh-10324 and gh-11023
1 parent 8ed017a commit 63cd4da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/release/1.15.0-notes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ passed explicitly, and are not yet computed automatically.
198198
No longer does an IQR of 0 result in `n_bins=1`, rather the number of bins
199199
chosen is related to the data size in this situation.
200200

201+
``histogram`` and ``histogramdd`` return edges matching the float type of the data
202+
----------------------------------------------------------------------------------
203+
When passed ``float16``, ``np.float32``, or ``np.longdouble`` data, the
204+
returned edges are now of the same dtype. Previously, ``histogram`` would only
205+
return the same type if explicit bins were given, and ``histogram`` would
206+
produce ``float64`` bins no matter what the inputs.
207+
201208
``histogramdd`` allows explicit ranges to be given in a subset of axes
202209
----------------------------------------------------------------------
203210
The ``range`` argument of `histogramdd` can now contain ``None`` values to

0 commit comments

Comments
 (0)
0