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

Skip to content

Commit dde6932

Browse files
committed
documenting dtype of hist counts
#12784 (comment)
1 parent 3e90025 commit dde6932

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

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

0 commit comments

Comments
 (0)