Skip to content

Commit

Permalink
Fix documentation of pdf function
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaevers committed Nov 15, 2024
1 parent 93567ed commit e7d73fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uadapy/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def pdf(self, x: np.ndarray | float) -> np.ndarray | float:
Returns
-------
np.ndarray or float
Samples of the distribution.
Probability values of the distribution at the given sample points.
"""
if isinstance(self.model, np.ndarray):
return self.kde.pdf(x.T)
Expand Down

0 comments on commit e7d73fd

Please sign in to comment.