Skip to content

Commit a14e4f9

Browse files
authored
Update pymc.HalfCauchy docsting (#5554)
* fixed pymc.HalfCauchy docsting * added :context: close-figs
1 parent 7c3900c commit a14e4f9

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
@@ -2179,6 +2179,7 @@ class HalfCauchy(PositiveContinuous):
21792179
f(x \mid \beta) = \frac{2}{\pi \beta [1 + (\frac{x}{\beta})^2]}
21802180
21812181
.. plot::
2182+
:context: close-figs
21822183
21832184
import matplotlib.pyplot as plt
21842185
import numpy as np
@@ -2203,7 +2204,7 @@ class HalfCauchy(PositiveContinuous):
22032204
22042205
Parameters
22052206
----------
2206-
beta: float
2207+
beta : tensor_like of float
22072208
Scale parameter (beta > 0).
22082209
"""
22092210
rv_op = halfcauchy
@@ -2226,7 +2227,7 @@ def logcdf(value, loc, beta):
22262227
22272228
Parameters
22282229
----------
2229-
value: numeric or np.ndarray or aesara.tensor
2230+
value : tensor_like of float
22302231
Value(s) for which log CDF is calculated. If the log CDF for multiple
22312232
values are desired the values must be provided in a numpy array or Aesara tensor.
22322233

0 commit comments

Comments
 (0)