@@ -6319,7 +6319,7 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
6319
6319
is based on the specified bin range instead of the
6320
6320
range of x.
6321
6321
6322
- Default is ``None``
6322
+ Default is ``None``.
6323
6323
6324
6324
density : bool, optional
6325
6325
If ``True``, the first element of the return tuple will
@@ -6343,7 +6343,7 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
6343
6343
the weights are normalized, so that the integral of the density
6344
6344
over the range remains 1.
6345
6345
6346
- Default is ``None``
6346
+ Default is ``None``.
6347
6347
6348
6348
cumulative : bool, optional
6349
6349
If ``True``, then a histogram is computed where each bin gives the
@@ -6355,43 +6355,36 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
6355
6355
In this case, if *normed* and/or *density* is also ``True``, then
6356
6356
the histogram is normalized such that the first bin equals 1.
6357
6357
6358
- Default is ``False``
6358
+ Default is ``False``.
6359
6359
6360
6360
bottom : array_like, scalar, or None
6361
6361
Location of the bottom baseline of each bin. If a scalar,
6362
6362
the base line for each bin is shifted by the same amount.
6363
6363
If an array, each bin is shifted independently and the length
6364
6364
of bottom must match the number of bins. If None, defaults to 0.
6365
6365
6366
- Default is ``None``
6366
+ Default is ``None``.
6367
6367
6368
6368
histtype : {'bar', 'barstacked', 'step', 'stepfilled'}, optional
6369
6369
The type of histogram to draw.
6370
6370
6371
- - 'bar' is a traditional bar-type histogram. If multiple data
6372
- are given the bars are arranged side by side.
6371
+ - 'bar' is a traditional bar-type histogram. If multiple data are
6372
+ given the bars are arranged side by side.
6373
+ - 'barstacked' is a bar-type histogram where multiple data are
6374
+ stacked on top of each other.
6375
+ - 'step' generates a lineplot that is by default unfilled.
6376
+ - 'stepfilled' generates a lineplot that is by default filled.
6373
6377
6374
- - 'barstacked' is a bar-type histogram where multiple
6375
- data are stacked on top of each other.
6376
-
6377
- - 'step' generates a lineplot that is by default
6378
- unfilled.
6379
-
6380
- - 'stepfilled' generates a lineplot that is by default
6381
- filled.
6382
-
6383
- Default is 'bar'
6378
+ Default is 'bar'.
6384
6379
6385
6380
align : {'left', 'mid', 'right'}, optional
6386
6381
Controls how the histogram is plotted.
6387
6382
6388
- - 'left': bars are centered on the left bin edges.
6389
-
6390
- - 'mid': bars are centered between the bin edges.
6391
-
6392
- - 'right': bars are centered on the right bin edges.
6383
+ - 'left': bars are centered on the left bin edges.
6384
+ - 'mid': bars are centered between the bin edges.
6385
+ - 'right': bars are centered on the right bin edges.
6393
6386
6394
- Default is 'mid'
6387
+ Default is 'mid'.
6395
6388
6396
6389
orientation : {'horizontal', 'vertical'}, optional
6397
6390
If 'horizontal', `~matplotlib.pyplot.barh` will be used for
@@ -6403,35 +6396,35 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
6403
6396
6404
6397
Ignored if *histtype* is 'step' or 'stepfilled'.
6405
6398
6406
- Default is ``None``
6399
+ Default is ``None``.
6407
6400
6408
6401
log : bool, optional
6409
6402
If ``True``, the histogram axis will be set to a log scale. If
6410
6403
*log* is ``True`` and *x* is a 1D array, empty bins will be
6411
6404
filtered out and only the non-empty ``(n, bins, patches)``
6412
6405
will be returned.
6413
6406
6414
- Default is ``False``
6407
+ Default is ``False``.
6415
6408
6416
6409
color : color or array_like of colors or None, optional
6417
6410
Color spec or sequence of color specs, one per dataset. Default
6418
6411
(``None``) uses the standard line color sequence.
6419
6412
6420
- Default is ``None``
6413
+ Default is ``None``.
6421
6414
6422
6415
label : str or None, optional
6423
6416
String, or sequence of strings to match multiple datasets. Bar
6424
6417
charts yield multiple patches per dataset, but only the first gets
6425
6418
the label, so that the legend command will work as expected.
6426
6419
6427
- default is ``None``
6420
+ Default is ``None``.
6428
6421
6429
6422
stacked : bool, optional
6430
- If ``True``, multiple data are stacked on top of each other If
6423
+ If ``True``, multiple data are stacked on top of each other. If
6431
6424
``False`` multiple data are arranged side by side if histtype is
6432
6425
'bar' or on top of each other if histtype is 'step'
6433
6426
6434
- Default is ``False``
6427
+ Default is ``False``.
6435
6428
6436
6429
normed : bool, optional
6437
6430
Deprecated; use the density keyword argument instead.
0 commit comments