From 6ca778d275ade854cfc81a6a975230c4ccd9402c Mon Sep 17 00:00:00 2001 From: Robert McGibbon Date: Sun, 1 Mar 2015 22:53:19 -0800 Subject: DOC: Reconcile docstrings and function signatures where they disagree Fixed typos in docstrings were updated for functions where the parameter names in the docstring didn't match the function signature. --- numpy/ma/extras.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'numpy/ma/extras.py') diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index b6082180a..ae4b5b374 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -730,6 +730,10 @@ def compress_rowcols(x, axis=None): Parameters ---------- + x : array_like, MaskedArray + The array to operate on. If not a MaskedArray instance (or if no array + elements are masked), `x` is interpreted as a MaskedArray with + `mask` set to `nomask`. Must be a 2D array. axis : int, optional Axis along which to perform the operation. Default is None. @@ -1561,7 +1565,7 @@ def flatnotmasked_edges(a): Parameters ---------- - arr : array_like + a : array_like Input 1-D `MaskedArray` Returns -- cgit v1.2.1