Skip to content

Commit 6bdc274

Browse files
committed
update Exponential numpydoc
1 parent 11e69ea commit 6bdc274

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pymc/distributions/continuous.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@ class Exponential(PositiveContinuous):
14331433
f(x \mid \lambda) = \lambda \exp\left\{ -\lambda x \right\}
14341434
14351435
.. plot::
1436+
:context: close-figs
14361437
14371438
import matplotlib.pyplot as plt
14381439
import numpy as np
@@ -1456,12 +1457,11 @@ class Exponential(PositiveContinuous):
14561457
14571458
Notes
14581459
-----
1459-
Logp calculation is defined in aeppl.logprob
1460-
https://github.com/aesara-devs/aeppl/blob/main/aeppl/logprob.py
1460+
Logp calculation is defined in `aeppl.logprob <https://github.com/aesara-devs/aeppl/blob/main/aeppl/logprob.py/>`_.
14611461
14621462
Parameters
14631463
----------
1464-
lam: float
1464+
lam : float
14651465
Rate or inverse scale (lam > 0)
14661466
"""
14671467
rv_op = exponential
@@ -1487,7 +1487,7 @@ def logcdf(value, mu):
14871487
14881488
Parameters
14891489
----------
1490-
value: numeric or np.ndarray or aesara.tensor
1490+
value : numeric or ndarray or TensorVariable
14911491
Value(s) for which log CDF is calculated. If the log CDF for
14921492
multiple values are desired the values must be provided in a numpy
14931493
array or Aesara tensor.

0 commit comments

Comments
 (0)