Skip to content

Commit b7563f3

Browse files
Merge pull request CamDavidsonPilon#73 from mbauman/patch-1
Ch4, Ex.1: Explicitly name the scale argument in stats.expon()
2 parents 7251ab8 + dcf3c5b commit b7563f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapter4_TheGreatestTheoremNeverTold/LawOfLargeNumbers.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@
10381038
"input": [
10391039
"## Enter code here\n",
10401040
"import scipy.stats as stats\n",
1041-
"exp = stats.expon( 4 )\n",
1041+
"exp = stats.expon( scale=4 )\n",
10421042
"N = 1e5\n",
10431043
"X = exp.rvs( N )\n",
10441044
"## ..."
@@ -1170,4 +1170,4 @@
11701170
"metadata": {}
11711171
}
11721172
]
1173-
}
1173+
}

0 commit comments

Comments
 (0)