summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/defmatrix.py
diff options
context:
space:
mode:
authorTapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>2020-07-01 00:47:24 +0530
committerGitHub <noreply@github.com>2020-06-30 12:17:24 -0700
commit4dc50ca33258c587cb8034d5c91d561343e97fc8 (patch)
tree195e4a43c12ae017f5a589069df0fee9cc09aa8e /numpy/matrixlib/defmatrix.py
parenta41d513df0bc100e36973d634b95ba86f710a508 (diff)
downloadnumpy-4dc50ca33258c587cb8034d5c91d561343e97fc8.tar.gz
DOC: Updated documentation for numpy.squeeze (#16627)
DOC: Updated documentation for squeeze Improve clarity by replacing terms like "single-dimensional" and "singleton dimension" with "axes of length one"
Diffstat (limited to 'numpy/matrixlib/defmatrix.py')
-rw-r--r--numpy/matrixlib/defmatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py
index a9ee74a5b..a414ee9bb 100644
--- a/numpy/matrixlib/defmatrix.py
+++ b/numpy/matrixlib/defmatrix.py
@@ -329,7 +329,7 @@ class matrix(N.ndarray):
Parameters
----------
axis : None or int or tuple of ints, optional
- Selects a subset of the single-dimensional entries in the shape.
+ Selects a subset of the axes of length one in the shape.
If an axis is selected with shape entry greater than one,
an error is raised.