Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ebe0e8

Browse files
authored
Merge pull request #12800 from pharshalp/hist_doc
documenting dtype of hist counts
2 parents a4a7bd3 + dde6932 commit 5ebe0e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6507,7 +6507,9 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
65076507
*nbins*. If input is a sequence of arrays
65086508
``[data1, data2,..]``, then this is a list of arrays with
65096509
the values of the histograms for each of the arrays in the
6510-
same order.
6510+
same order. The dtype of the elements of the array *n*
6511+
(or of its element arrays) will always be float even if no
6512+
weighting or normalization is used.
65116513
65126514
bins : array
65136515
The edges of the bins. Length nbins + 1 (nbins left edges and right

0 commit comments

Comments
 (0)