Skip to content

Commit 31fbd02

Browse files
committed
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.
1 parent 7125cdf commit 31fbd02

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)