summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index 85a6bc4cb..4e7f8e85e 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -1106,6 +1106,7 @@ def unique(ar1, return_index=False, return_inverse=False):
Examples
--------
+ >>> import numpy.ma as ma
>>> a = [1, 2, 1000, 2, 3]
>>> mask = [0, 0, 1, 0, 0]
>>> masked_a = ma.masked_array(a, mask)