From ef5684564e3074daf614846f30bfdd7f15f5254f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 9 May 2017 12:16:14 +0300 Subject: ENH: Spelling fixes --- numpy/ma/extras.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/ma/extras.py') diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index d55e0d1ea..d8ea3de8c 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -794,7 +794,7 @@ def _median(a, axis=None, out=None, overwrite_input=False): def compress_nd(x, axis=None): - """Supress slices from multiple dimensions which contain masked values. + """Suppress slices from multiple dimensions which contain masked values. Parameters ---------- @@ -803,10 +803,10 @@ def compress_nd(x, axis=None): elements are masked, `x` is interpreted as a MaskedArray with `mask` set to `nomask`. axis : tuple of ints or int, optional - Which dimensions to supress slices from can be configured with this + Which dimensions to suppress slices from can be configured with this parameter. - - If axis is a tuple of ints, those are the axes to supress slices from. - - If axis is an int, then that is the only axis to supress slices from. + - If axis is a tuple of ints, those are the axes to suppress slices from. + - If axis is an int, then that is the only axis to suppress slices from. - If axis is None, all axis are selected. Returns -- cgit v1.2.1