diff options
| author | Eero Vaher <eero.vaher@astro.lu.se> | 2021-11-15 18:36:58 +0100 |
|---|---|---|
| committer | Eero Vaher <eero.vaher@astro.lu.se> | 2021-11-15 18:36:58 +0100 |
| commit | 31fbd0266df082240dc904c681e25f779d7fd025 (patch) | |
| tree | 6390d99d8bf5ec00c0a9b573909c491ef10ac053 /numpy/random | |
| parent | 7125cdfa21081b91907a65b6c888791cf150a0b2 (diff) | |
| download | numpy-31fbd0266df082240dc904c681e25f779d7fd025.tar.gz | |
DOC: Fix formatting of a code example
One of the code examples in the docstring of
`numpy.random.Generator.multivariate_normal()` was not being displayed
properly in the built documentation.
Diffstat (limited to 'numpy/random')
| -rw-r--r-- | numpy/random/_generator.pyx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index 2134f0e24..391987a1e 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -3567,6 +3567,7 @@ cdef class Generator: (3, 3, 2) We can use a different method other than the default to factorize cov: + >>> y = rng.multivariate_normal(mean, cov, (3, 3), method='cholesky') >>> y.shape (3, 3, 2) |
