Skip to content

fixed numpy docstring for class weibull #5466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pymc/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -2568,6 +2568,7 @@ class Weibull(PositiveContinuous):
\exp(-(\frac{x}{\beta})^{\alpha})}{\beta^\alpha}

.. plot::
:context: close-figs

import matplotlib.pyplot as plt
import numpy as np
Expand All @@ -2594,9 +2595,9 @@ class Weibull(PositiveContinuous):

Parameters
----------
alpha: float
alpha : float
Shape parameter (alpha > 0).
beta: float
beta : float
Scale parameter (beta > 0).
"""

Expand Down