From cd054553452874d280229559974d3c00bfe4d05d Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Wed, 29 Sep 2021 12:36:02 -0400 Subject: [PATCH] Backport PR #21216: Use correct confidence interval --- examples/statistics/confidence_ellipse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/statistics/confidence_ellipse.py b/examples/statistics/confidence_ellipse.py index 9ba8758999d2..b5d3b4793c79 100644 --- a/examples/statistics/confidence_ellipse.py +++ b/examples/statistics/confidence_ellipse.py @@ -34,9 +34,9 @@ # # The radiuses of the ellipse can be controlled by n_std which is the number # of standard deviations. The default value is 3 which makes the ellipse -# enclose 99.4% of the points if the data is normally distributed +# enclose 98.9% of the points if the data is normally distributed # like in these examples (3 standard deviations in 1-D contain 99.7% -# of the data, which is 99.4% of the data in 2-D). +# of the data, which is 98.9% of the data in 2-D). def confidence_ellipse(x, y, ax, n_std=3.0, facecolor='none', **kwargs):