Skip to content

Commit 3bdc175

Browse files
authored
fixed docstring for class weibull (#5466)
* fixed numpy docstring for class weibull * added close-figs context to docstring of weibull distribution
1 parent 7d974d1 commit 3bdc175

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
@@ -2568,6 +2568,7 @@ class Weibull(PositiveContinuous):
25682568
\exp(-(\frac{x}{\beta})^{\alpha})}{\beta^\alpha}
25692569
25702570
.. plot::
2571+
:context: close-figs
25712572
25722573
import matplotlib.pyplot as plt
25732574
import numpy as np
@@ -2594,9 +2595,9 @@ class Weibull(PositiveContinuous):
25942595
25952596
Parameters
25962597
----------
2597-
alpha: float
2598+
alpha : float
25982599
Shape parameter (alpha > 0).
2599-
beta: float
2600+
beta : float
26002601
Scale parameter (beta > 0).
26012602
"""
26022603

0 commit comments

Comments
 (0)