diff options
author | mattip <matti.picus@gmail.com> | 2019-02-19 10:11:52 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-02-19 10:11:52 +0200 |
commit | b66d8357d997a6b143ca06de2e0549919eabb575 (patch) | |
tree | dd786581cc1b8618d30d0e77960ef211af6e6060 | |
parent | 3aab0d5edf0b9d7773424d0804d4cdf199f7bb5b (diff) | |
download | numpy-b66d8357d997a6b143ca06de2e0549919eabb575.tar.gz |
DOC: fixes from review
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index 4e159db04..ca9840055 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -2683,7 +2683,7 @@ cdef class RandomState: Parameters ---------- a : float or array_like of floats - Shape of the distribution. Must be non-negative. + Shape of the distribution. Must all be positive. size : int or tuple of ints, optional Output shape. If the given shape is, e.g., ``(m, n, k)``, then ``m * n * k`` samples are drawn. If size is ``None`` (default), @@ -3328,8 +3328,8 @@ cdef class RandomState: mean : float or array_like of floats, optional Mean value of the underlying normal distribution. Default is 0. sigma : float or array_like of floats, optional - Standard deviation of the underlying normal distribution. Should - be greater than zero. Default is 1. + Standard deviation of the underlying normal distribution. Must be + non-negative. Default is 1. size : int or tuple of ints, optional Output shape. If the given shape is, e.g., ``(m, n, k)``, then ``m * n * k`` samples are drawn. If size is ``None`` (default), |