From d722149dadb60aa3e59ec8e5fa9631837c0677af Mon Sep 17 00:00:00 2001 From: ColeBurch <48129706+ColeBurch@users.noreply.github.com> Date: Tue, 14 Mar 2023 11:39:52 -0600 Subject: [PATCH] Fix issue #25458 by changing "normed" to "density" --- galleries/examples/statistics/histogram_cumulative.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/galleries/examples/statistics/histogram_cumulative.py b/galleries/examples/statistics/histogram_cumulative.py index a24f378831a4..cbe786f2e970 100644 --- a/galleries/examples/statistics/histogram_cumulative.py +++ b/galleries/examples/statistics/histogram_cumulative.py @@ -8,11 +8,11 @@ distribution function (CDF) of a sample. We also show the theoretical CDF. A couple of other options to the ``hist`` function are demonstrated. Namely, we -use the *normed* parameter to normalize the histogram and a couple of different -options to the *cumulative* parameter. The *normed* parameter takes a boolean +use the *density* parameter to normalize the histogram and a couple of different +options to the *cumulative* parameter. The *density* parameter takes a boolean value. When ``True``, the bin heights are scaled such that the total area of the histogram is 1. The *cumulative* keyword argument is a little more nuanced. -Like *normed*, you can pass it True or False, but you can also pass it -1 to +Like *density*, you can pass it True or False, but you can also pass it -1 to reverse the distribution. Since we're showing a normalized and cumulative histogram, these curves