8000 Merge pull request #2854 from NelleV/doc_fix_hist · matplotlib/matplotlib@b5a6c49 · GitHub
[go: up one dir, main page]

Skip to content

Commit b5a6c49

Browse files
committed
Merge pull request #2854 from NelleV/doc_fix_hist
DOC hist is not cumulative by default
2 parents 9b78b9e + fa8089f commit b5a6c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5303,7 +5303,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
53035303
(instead of 1). If `normed` is True, the weights are normalized,
53045304
so that the integral of the density over the range remains 1.
53055305
5306-
cumulative : boolean, optional, default : True
5306+
cumulative : boolean, optional, default : False
53075307
If `True`, then a histogram is computed where each bin gives the
53085308
counts in that bin plus all bins for smaller values. The last bin
53095309
gives the total number of datapoints. If `normed` is also `True`

0 commit comments

Comments
 (0)
0