diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2020-07-09 19:18:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 19:18:18 -0700 |
commit | c43b2bfb15281e170cc5006829ebc559bd1915e3 (patch) | |
tree | fb0e864bc58f04e1c875a51f729895531d002d90 | |
parent | 18a6e3e505ee416ddfc617f3e9afdff5a031c2c2 (diff) | |
download | numpy-c43b2bfb15281e170cc5006829ebc559bd1915e3.tar.gz |
DOC: Minor RST formatting. (#16792)
DOC: fixes to capitalization and header lines
-rw-r--r-- | numpy/lib/index_tricks.py | 4 | ||||
-rw-r--r-- | numpy/lib/npyio.py | 2 | ||||
-rw-r--r-- | numpy/lib/shape_base.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index d145477c3..d528b3e10 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -221,7 +221,7 @@ class MGridClass(nd_grid): the stop value **is inclusive**. Returns - ---------- + ------- mesh-grid `ndarrays` all of the same dimensions See Also @@ -896,7 +896,7 @@ def diag_indices(n, ndim=2): ndim : int, optional The number of dimensions. - See also + See Also -------- diag_indices_from diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 3d7d3e08f..520e9c9ec 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1685,7 +1685,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, <https://docs.scipy.org/doc/numpy/user/basics.io.genfromtxt.html>`_. Examples - --------- + -------- >>> from io import StringIO >>> import numpy as np diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index 78703555e..bc6718eca 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -452,7 +452,7 @@ def apply_over_axes(func, a, axes): Apply a function to 1-D slices of an array along the given axis. Notes - ------ + ----- This function is equivalent to tuple axis arguments to reorderable ufuncs with keepdims=True. Tuple axis arguments to ufuncs have been available since version 1.7.0. |