8000 Merge pull request #3163 from tacaswell/hist_doc · matplotlib/matplotlib@5774fde · GitHub
[go: up one dir, main page]

Skip to content

Commit 5774fde

Browse files
committed
Merge pull request #3163 from tacaswell/hist_doc
DOC : documented bottom kwarg of hist
2 parents d67e7a4 + b9efccf commit 5774fde

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5350,6 +5350,12 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
53505350
`True`, then the histogram is normalized such that the first bin
53515351
equals 1.
53525352
5353+
bottom : array_like, scalar, or None, default: None
5354+
Location of the bottom baseline of each bin. If a scalar,
5355+
the base line for each bin is shifted by the same amount.
5356+
If an array, each bin is shifted independently and the length
5357+
of bottom must match the number of bins. If None, defaults to 0.
5358+
53535359
histtype : ['bar' | 'barstacked' | 'step' | 'stepfilled'], optional
53545360
The type of histogram to draw.
53555361

0 commit comments

Comments
 (0)
0