Skip to content

Commit 4df00c2

Browse files
committed
Updating thinkstats2
1 parent 07e0f27 commit 4df00c2

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

thinkplot/__init__.py

100755100644
File mode changed.

thinkplot/thinkplot.py

100755100644
File mode changed.

thinkstats2/__init__.py

100755100644
File mode changed.

thinkstats2/thinkstats2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ def PercentileRanks(self, xs):
12251225
12261226
returns: array of percentile ranks in the range 0 to 100
12271227
"""
1228-
return self.Probs(x) * 100
1228+
return self.Probs(xs) * 100
12291229

12301230
def Random(self):
12311231
"""Chooses a random value from this distribution."""

0 commit comments

Comments
 (0)