summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorsfolje0 <sfolje0@github>2020-11-29 21:17:58 +0100
committersfolje0 <sfolje0@github>2020-11-29 21:17:58 +0100
commit207e07968721f3380f7c71a87909440b6260d0a6 (patch)
tree0d5147b70ba1758d339dd21e55494f7e5c24ea50 /numpy/lib/utils.py
parent76930e7d0c22e227c9ff9249a90a6254c5a6b547 (diff)
downloadnumpy-207e07968721f3380f7c71a87909440b6260d0a6.tar.gz
DOC: fixed typo in np-indexing.png explaining [-2:] slice in user guide
In User Guide of NumPy in tutorial for absulute beginners, i.e. in documentation document doc/source/user/absulute_beginners.rst there was a typo in the image np-indexing.png visualizing slices in **Indexing and slicing** section. Namely, in the first image in mentioned section, the last visualized array (under `data[-2:]` command), there was a picture of `data[:]` or `data[0:3]` (i.e. array([1,2,3])) presenting the slice indexing. But it should be a picture of of `data[-2:]` (i.e. array([2,3])). This commit fixes this by adding additional picture of array([2,3]) under `data[-2:]` command and changing command above last array([1,2,3]) pic to title named `data` to preserve the idea behind slice indexing.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions