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:17:43 +1200 |
| commit | 953c36da815f8d6f095156775eeb11643e08ee9b (patch) | |
| tree | c466062c1ee3699c2d994485eaa0ba59ddac51ec /numpy/random | |
| parent | 5be257eafe33c1327003a3709e79e36b8de4b979 (diff) | |
| download | numpy-953c36da815f8d6f095156775eeb11643e08ee9b.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 |
