@@ -5307,8 +5307,9 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
5307
5307
5308
5308
Parameters
5309
5309
----------
5310
- x : array_like, shape (n, )
5311
- Input values.
5310
+ x : (n,) array or sequence of (n,) arrays
5311
+ Input values, this takes either a single array or a sequency of
5312
+ arrays which are not required to be of the same length
5312
5313
5313
5314
bins : integer or array_like, optional, default: 10
5314
5315
If an integer is given, `bins + 1` bin edges are returned,
@@ -5403,8 +5404,22 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
5403
5404
5404
5405
Returns
5405
5406
-------
5406
- tuple : ``(n, bins, patches)`` or \
5407
- ``([n0, n1, ...], bins, [patches0, patches1,...])``
5407
+ n : array or list of arrays
5408
+ The values of the histogram bins. See **normed** and **weights**
5409
+ for a description of the possible semantics. If input **x** is an
5410
+ array, then this is an array of length **nbins**. If input is a
5411
+ sequence arrays ``[data1, data2,..]``, then this is a list of
5412
+ arrays with the values of the histograms for each of the arrays
5413
+ in the same order.
5414
+
5415
+ bins : array
5416
+ The edges of the bins. Length nbins + 1 (nbins left edges and right
5417
+ edge of last bin). Always a single array even when multiple data
5418
+ sets are passed in.
5419
+
5420
+ patches : list or list of lists
5421
+ Silent list of individual patches used to create the histogram
5422
+ or list of such list if multiple input datasets.
5408
5423
5409
5424
Other Parameters
5410
5425
----------------
0 commit comments