Skip to content

Commit

Permalink
Updating thinkstats2
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenDowney committed Feb 28, 2019
1 parent 07e0f27 commit 4df00c2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Empty file modified thinkplot/__init__.py
100755 → 100644
Empty file.
Empty file modified thinkplot/thinkplot.py
100755 → 100644
Empty file.
Empty file modified thinkstats2/__init__.py
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion thinkstats2/thinkstats2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ def PercentileRanks(self, xs):
returns: array of percentile ranks in the range 0 to 100
"""
return self.Probs(x) * 100
return self.Probs(xs) * 100

def Random(self):
"""Chooses a random value from this distribution."""
Expand Down

0 comments on commit 4df00c2

Please sign in to comment.