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

Skip to content

Commit 5926c2a

Browse files
CarstenSchelpcarstescjklymak
authored
correct reference to 68-95-99.7% rule (#19074)
* correct reference to 68-95-99.7% rule Co-authored-by: carstesc <[email protected]> Co-authored-by: Jody Klymak <[email protected]>
1 parent a4cc0fc commit 5926c2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/statistics/confidence_ellipse.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@
3434
#
3535
# The radiuses of the ellipse can be controlled by n_std which is the number
3636
# of standard deviations. The default value is 3 which makes the ellipse
37-
# enclose 99.7% of the points (given the data is normally distributed
38-
# like in these examples).
37+
# enclose 99.4% of the points if the data is normally distributed
38+
# like in these examples (3 standard deviations in 1-D contain 99.7%
39+
# of the data, which is 99.4% of the data in 2-D).
3940

4041

4142
def confidence_ellipse(x, y, ax, n_std=3.0, facecolor='none', **kwargs):

0 commit comments

Comments
 (0)