numpy.ma.MaskType.clip

method

ma.MaskType.clip()

Scalar method identical to the corresponding array attribute.

Please see ndarray.clip.