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

Skip to content

Commit 7758ad7

Browse files
authored
Merge pull request #16480 from dstansby/bottom-hist
Re-phrase doc for bottom kwarg to hist
2 parents abfdecf + 90cd699 commit 7758ad7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6507,10 +6507,11 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
65076507
equals 1.
65086508
65096509
bottom : array-like, scalar, or None, default: None
6510-
Location of the bottom baseline of each bin. If a scalar,
6511-
the base line for each bin is shifted by the same amount.
6512-
If an array, each bin is shifted independently and the length
6513-
of bottom must match the number of bins. If None, defaults to 0.
6510+
Location of the bottom of each bin, ie. bins are drawn from
6511+
``bottom`` to ``bottom + hist(x, bins)`` If a scalar, the bottom
6512+
of each bin is shifted by the same amount. If an array, each bin
6513+
is shifted independently and the length of bottom must match the
6514+
number of bins. If None, defaults to 0.
65146515
65156516
histtype : {'bar', 'barstacked', 'step', 'stepfilled'}, default: 'bar'
65166517
The type of histogram to draw.

0 commit comments

Comments
 (0)