diff options
author | melissawm <melissawm.github@gmail.com> | 2022-10-11 17:23:29 -0300 |
---|---|---|
committer | melissawm <melissawm@gmail.com> | 2022-10-11 20:08:37 -0300 |
commit | 6fac305a8b62e40aa7a353d4cf72688939c0e0a4 (patch) | |
tree | decee175a52111e4aa23f823d6121ed4812d03a8 /numpy/lib | |
parent | 5c427d6a597f62352e9baf870e1b2edde58bee45 (diff) | |
download | numpy-6fac305a8b62e40aa7a353d4cf72688939c0e0a4.tar.gz |
DOC: Improve how-to-partition contents.
Also add links to this document from the functions' docstrings.
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/function_base.py | 1 | ||||
-rw-r--r-- | numpy/lib/index_tricks.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 1a840669c..1cd5c92f2 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -4943,6 +4943,7 @@ def meshgrid(*xi, copy=True, sparse=False, indexing='xy'): mgrid : Construct a multi-dimensional "meshgrid" using indexing notation. ogrid : Construct an open multi-dimensional "meshgrid" using indexing notation. + how-to-index Examples -------- diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index e74553de4..95d5e3ede 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -234,6 +234,7 @@ class MGridClass(nd_grid): ogrid : like mgrid but returns open (not fleshed out) mesh grids meshgrid: return coordinate matrices from coordinate vectors r_ : array concatenator + :ref:`how-to-partition` Examples -------- @@ -286,6 +287,7 @@ class OGridClass(nd_grid): mgrid : like `ogrid` but returns dense (or fleshed out) mesh grids meshgrid: return coordinate matrices from coordinate vectors r_ : array concatenator + :ref:`how-to-partition` Examples -------- |