diff options
| author | Warren Weckesser <warren.weckesser@gmail.com> | 2021-11-15 14:12:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 14:12:20 -0500 |
| commit | a7e22741d058a4c1c8d6b93facbafdf712806614 (patch) | |
| tree | 6390d99d8bf5ec00c0a9b573909c491ef10ac053 /numpy | |
| parent | 7125cdfa21081b91907a65b6c888791cf150a0b2 (diff) | |
| parent | 31fbd0266df082240dc904c681e25f779d7fd025 (diff) | |
| download | numpy-a7e22741d058a4c1c8d6b93facbafdf712806614.tar.gz | |
Merge pull request #20379 from eerovaher/multinormal-docstring
DOC: Fix formatting of a code example in `numpy.random.Generator.multivariate_normal()` docstring
Diffstat (limited to 'numpy')
| -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) |
