diff options
author | bertrand <bertrand.l3f@gmail.com> | 2016-06-10 21:04:53 -0400 |
---|---|---|
committer | bertrand <bertrand.l3f@gmail.com> | 2016-06-10 21:06:40 -0400 |
commit | 1aaf99a31835beacd49ced62a7d02120e6942522 (patch) | |
tree | 0bb2d46f1b45e1c227c877b701dc98498934ac39 /numpy/lib/npyio.py | |
parent | 34f15253935066da485cf41e05cbd668fbdbbb90 (diff) | |
download | numpy-1aaf99a31835beacd49ced62a7d02120e6942522.tar.gz |
DOC: fix typo in savetxt docstring (closes #7620)
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 426f6e823..9e3127c89 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1041,7 +1041,7 @@ def savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='', a) a single specifier, `fmt='%.4e'`, resulting in numbers formatted like `' (%s+%sj)' % (fmt, fmt)` b) a full string specifying every real and imaginary part, e.g. - `' %.4e %+.4j %.4e %+.4j %.4e %+.4j'` for 3 columns + `' %.4e %+.4ej %.4e %+.4ej %.4e %+.4ej'` for 3 columns c) a list of specifiers, one per column - in this case, the real and imaginary part must have separate specifiers, e.g. `['%.3e + %.3ej', '(%.15e%+.15ej)']` for 2 columns |