summaryrefslogtreecommitdiff
path: root/numpy/lib/io.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r--numpy/lib/io.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py
index db4e73358..36723f1d8 100644
--- a/numpy/lib/io.py
+++ b/numpy/lib/io.py
@@ -344,9 +344,9 @@ def savetxt(fname, X, fmt='%.18e',delimiter=' '):
Examples
--------
- >>> savetxt('test.out', x, delimiter=',') # X is an array
- >>> savetxt('test.out', (x,y,z)) # x,y,z equal sized 1D arrays
- >>> savetxt('test.out', x, fmt='%1.4e') # use exponential notation
+ >>> np.savetxt('test.out', x, delimiter=',') # X is an array
+ >>> np.savetxt('test.out', (x,y,z)) # x,y,z equal sized 1D arrays
+ >>> np.savetxt('test.out', x, fmt='%1.4e') # use exponential notation
Notes on fmt
------------