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

Skip to content

Commit 0900819

Browse files
authored
Merge pull request #16526 from timhoffm/auto-backport-of-pr-16480-on-v3.2.x
Backport PR #16480 on v.3.2.x: Re-phrase doc for bottom kwarg to hist
2 parents 5cc88c7 + c43aea6 commit 0900819

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6446,15 +6446,12 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
64466446
``True``, then the histogram is normalized such that the first bin
64476447
equals 1.
64486448
6449-
Default is ``False``
6450-
6451-
bottom : array-like, scalar, or None
6452-
Location of the bottom baseline of each bin. If a scalar,
6453-
the base line for each bin is shifted by the same amount.
6454-
If an array, each bin is shifted independently and the length
6455-
of bottom must match the number of bins. If None, defaults to 0.
6456-
6457-
Default is ``None``
6449+
bottom : array-like, scalar, or None, default: None
6450+
Location of the bottom of each bin, ie. bins are drawn from
6451+
``bottom`` to ``bottom + hist(x, bins)`` If a scalar, the bottom
6452+
of each bin is shifted by the same amount. If an array, each bin
6453+
is shifted independently and the length of bottom must match the
6454+
number of bins. If None, defaults to 0.
64586455
64596456
histtype : {'bar', 'barstacked', 'step', 'stepfilled'}, optional
64606457
The type of histogram to draw.

0 commit comments

Comments
 (0)