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

Skip to content

Commit 226770a

Browse files
authored
Merge pull request #25463 from meeseeksmachine/auto-backport-of-pr-25461-on-v3.7.1-doc
Backport PR #25461 on branch v3.7.1-doc (Fix issue #25458 by changing "normed" to "density" in documentation)
2 parents d2aab9b + 9668f06 commit 226770a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/statistics/histogram_cumulative.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
distribution function (CDF) of a sample. We also show the theoretical CDF.
99
1010
A couple of other options to the ``hist`` function are demonstrated. Namely, we
11-
use the *normed* parameter to normalize the histogram and a couple of different
12-
options to the *cumulative* parameter. The *normed* parameter takes a boolean
11+
use the *density* parameter to normalize the histogram and a couple of different
12+
options to the *cumulative* parameter. The *density* parameter takes a boolean
1313
value. When ``True``, the bin heights are scaled such that the total area of
1414
the histogram is 1. The *cumulative* keyword argument is a little more nuanced.
15-
Like *normed*, you can pass it True or False, but you can also pass it -1 to
15+
Like *density*, you can pass it True or False, but you can also pass it -1 to
1616
reverse the distribution.
1717
1818
Since we're showing a normalized and cumulative histogram, these curves

0 commit comments

Comments
 (0)