diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2017-06-10 15:56:14 +1200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2017-06-10 18:19:17 +1200 |
commit | 34075a54e7aa10e80d41ef33ec7102292ecff0d5 (patch) | |
tree | 537ce22035ad4a22e7eba29720124b5eb82d4574 /numpy/random | |
parent | fa913a8ea6a8b363962dec6d656049a1371b53d9 (diff) | |
download | numpy-34075a54e7aa10e80d41ef33ec7102292ecff0d5.tar.gz |
DOC: BLD: fix lots of Sphinx warnings/errors.
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index c0082a782..68905f7ad 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -1469,7 +1469,7 @@ cdef class RandomState: 4 >>> type(np.random.random_integers(5)) <type 'int'> - >>> np.random.random_integers(5, size=(3.,2.)) + >>> np.random.random_integers(5, size=(3,2)) array([[5, 4], [3, 3], [4, 5]]) @@ -1951,7 +1951,7 @@ cdef class RandomState: -------- Draw samples from the distribution: - >>> shape, scale = 2., 2. # mean=4, std=2*sqrt(2) + >>> shape, scale = 2., 2. # mean=4, std=2*sqrt(2) >>> s = np.random.gamma(shape, scale, 1000) Display the histogram of the samples, along with |