Skip to content

Commit

Permalink
Update rail.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Sep 3, 2018
1 parent 61dcd31 commit f9c0b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rail/rail.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def plot(self, num=1000, axes=None) -> list:
lognorm.ppf(0.999, s=self.data['sigma'], scale=np.exp(self.data['mu'])),
num
)
plt.title('%s (probability density function)' % (self.data['name']))
plt.title('%s (PDF)' % (self.data['name']))
plt.ylabel('relative likelihood')
plt.xlabel('impact')
return plt.plot(x, lognorm.pdf(x, s=self.data['sigma'], scale=np.exp(self.data['mu'])), axes=axes)
Expand Down

0 comments on commit f9c0b85

Please sign in to comment.