Skip to content

Commit a7e2274

Browse files
Merge pull request numpy#20379 from eerovaher/multinormal-docstring
DOC: Fix formatting of a code example in `numpy.random.Generator.multivariate_normal()` docstring
2 parents 7125cdf + 31fbd02 commit a7e2274

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numpy/random/_generator.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@ cdef class Generator:
35673567
(3, 3, 2)
35683568
35693569
We can use a different method other than the default to factorize cov:
3570+
35703571
>>> y = rng.multivariate_normal(mean, cov, (3, 3), method='cholesky')
35713572
>>> y.shape
35723573
(3, 3, 2)

0 commit comments

Comments
 (0)