summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-11-17 19:52:56 +0200
committerGitHub <noreply@github.com>2021-11-17 19:52:56 +0200
commitb95cfa5eb7b3e6714ddcab7f95ebb4c7a3b77433 (patch)
treef37688cf328b081f0ee32a0f1980baba50386361 /numpy/lib
parentd90298e84499eed6cf6d68be19d6c59b43dd8bed (diff)
parent916b65a47bae35a28585d2157570927c0267a34e (diff)
downloadnumpy-b95cfa5eb7b3e6714ddcab7f95ebb4c7a3b77433.tar.gz
Merge pull request #20093 from Mukulikaa/indexing-howto
DOC: Created an indexing how-to
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/index_tricks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 2a4402c89..b69226d48 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -227,13 +227,13 @@ class MGridClass(nd_grid):
See Also
--------
- numpy.lib.index_tricks.nd_grid : class of `ogrid` and `mgrid` objects
+ lib.index_tricks.nd_grid : class of `ogrid` and `mgrid` objects
ogrid : like mgrid but returns open (not fleshed out) mesh grids
r_ : array concatenator
Examples
--------
- >>> np.mgrid[0:5,0:5]
+ >>> np.mgrid[0:5, 0:5]
array([[[0, 0, 0, 0, 0],
[1, 1, 1, 1, 1],
[2, 2, 2, 2, 2],