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

Skip to content

Commit 0a80ca6

Browse files
committed
DOC : changes to histogram Returns doc section
- minor wording changes - pep8 cleanup
1 parent eea040e commit 0a80ca6

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5388,16 +5388,21 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
53885388
Returns
53895389
-------
53905390
n : array or list of arrays
5391-
The values of the histogram. See **normed** and **weights** for a
5392-
description of the possible semantics. If input **x** is an array,
5393-
then this is an array of length **nbins**. If input is a sequence
5394-
arrays ``[data1, data2,..]``, then this is a list of arrays with
5395-
the values of the histograms for each of the arrays in the same
5396-
order.
5391+
The values of the histogram bins. See **normed** and **weights**
5392+
for a description of the possible semantics. If input **x** is an
5393+
array, then this is an array of length **nbins**. If input is a
5394+
sequence arrays ``[data1, data2,..]``, then this is a list of
5395+
arrays with the values of the histograms for each of the arrays
5396+
in the same order.
5397+
53975398
bins : array
5398-
The edges of the bins ``len(n)+1``.
5399+
The edges of the bins. Length nbins + 1 (nbins left edges and right
5400+
edge of last bin). Always a single array even when multiple data
5401+
sets are passed in.
5402+
53995403
patches : list or list of lists
5400-
Silent list of individual patches used to create the histogram.
5404+
Silent list of individual patches used to create the histogram
5405+
or list of such list if multiple input datasets.
54015406
54025407
Other Parameters
54035408
----------------

0 commit comments

Comments
 (0)