Skip to content

Commit f6ab770

Browse files
authored
Updated pymc.Exponential docstring (#5495)
* Updated pymc.Exponential docstring * Added close-fig context and fixed Parameter comments.
1 parent deefd7e commit f6ab770

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymc/distributions/continuous.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,7 @@ class Exponential(PositiveContinuous):
14391439
f(x \mid \lambda) = \lambda \exp\left\{ -\lambda x \right\}
14401440
14411441
.. plot::
1442+
:context: close-figs
14421443
14431444
import matplotlib.pyplot as plt
14441445
import numpy as np
@@ -1467,8 +1468,8 @@ class Exponential(PositiveContinuous):
14671468
14681469
Parameters
14691470
----------
1470-
lam: float
1471-
Rate or inverse scale (lam > 0)
1471+
lam : tensor_like of float
1472+
Rate or inverse scale (``lam`` > 0)
14721473
"""
14731474
rv_op = exponential
14741475

0 commit comments

Comments
 (0)