Skip to content

Commit 7c3900c

Browse files
authored
Update pymc.Cauchy docsting (#5553)
* fixed pymc.Cauchy docsting * added :context: close-figs
1 parent 32380ec commit 7c3900c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pymc/distributions/continuous.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,6 +2097,7 @@ class Cauchy(Continuous):
20972097
\frac{1}{\pi \beta [1 + (\frac{x-\alpha}{\beta})^2]}
20982098
20992099
.. plot::
2100+
:context: close-figs
21002101
21012102
import matplotlib.pyplot as plt
21022103
import numpy as np
@@ -2123,10 +2124,10 @@ class Cauchy(Continuous):
21232124
21242125
Parameters
21252126
----------
2126-
alpha: float
2127-
Location parameter
2128-
beta: float
2129-
Scale parameter > 0
2127+
alpha : tensor_like of float
2128+
Location parameter.
2129+
beta : tensor_like of float
2130+
Scale parameter > 0.
21302131
"""
21312132
rv_op = cauchy
21322133

@@ -2151,7 +2152,7 @@ def logcdf(value, alpha, beta):
21512152
21522153
Parameters
21532154
----------
2154-
value: numeric or np.ndarray or aesara.tensor
2155+
value : tensor_like of float
21552156
Value(s) for which log CDF is calculated. If the log CDF for multiple
21562157
values are desired the values must be provided in a numpy array or Aesara tensor.
21572158

0 commit comments

Comments
 (0)