summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index c8d4e13f7..536b26f40 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -88,6 +88,11 @@ def set_printoptions(precision=None, threshold=None, edgeitems=None,
>>> x**2 - (x + eps)**2
array([-0., -0., 0., 0.])
+ To put back the default options, you can use:
+
+ >>> np.set_printoptions(edgeitems=3,infstr='Inf',
+ ... linewidth=75, nanstr='NaN', precision=8,
+ ... suppress=False, threshold=1000)
"""
global _summaryThreshold, _summaryEdgeItems, _float_output_precision, \