Skip to content

Commit 9521841

Browse files
committed
Updated pymc.Normal docstring
1 parent 2b81f4e commit 9521841

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pymc/distributions/continuous.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ class Normal(Continuous):
499499
\tau = \dfrac{1}{\sigma^2}
500500
501501
.. plot::
502+
:context: close-figs
502503
503504
import matplotlib.pyplot as plt
504505
import numpy as np
@@ -524,11 +525,11 @@ class Normal(Continuous):
524525
525526
Parameters
526527
----------
527-
mu: float
528-
Mean.
529-
sigma: float
528+
mu : float
529+
Mean. Defaults to 0.
530+
sigma : float
530531
Standard deviation (sigma > 0) (only required if tau is not specified).
531-
tau: float
532+
tau : float
532533
Precision (tau > 0) (only required if sigma is not specified).
533534
534535
Examples
@@ -573,9 +574,13 @@ def logcdf(value, mu, sigma):
573574
574575
Parameters
575576
----------
576-
value: numeric or np.ndarray or `TensorVariable`
577+
value : numeric or ndarray or TensorVariable
577578
Value(s) for which log CDF is calculated. If the log CDF for multiple
578579
values are desired the values must be provided in a numpy array or `TensorVariable`.
580+
mu : float
581+
Mean. Defaults to 0.
582+
sigma : float
583+
Standard deviation (sigma > 0).
579584
580585
Returns
581586
-------

0 commit comments

Comments
 (0)