diff options
author | mattip <matti.picus@gmail.com> | 2018-04-18 00:56:41 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2018-04-18 00:56:41 +0300 |
commit | 953fbda6c22af1ea0269ed533265268b805e324c (patch) | |
tree | 499eaa8611428214e62870dbad07a9b376cef94c /numpy/core/arrayprint.py | |
parent | df8e83538461c29bc12c44198574bde8ffefcad7 (diff) | |
download | numpy-953fbda6c22af1ea0269ed533265268b805e324c.tar.gz |
fixes from review
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index ad0f630ba..adbbab6ed 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -990,7 +990,7 @@ def format_float_scientific(x, precision=None, unique=True, trim='k', * 'k' : keep trailing zeros, keep decimal point (no trimming) * '.' : trim all trailing zeros, leave decimal point * '0' : trim all but the zero before the decimal point. Insert the - zero if it is missing. + zero if it is missing. * '-' : trim trailing zeros and any trailing decimal point sign : boolean, optional Whether to show the sign for positive values. @@ -1060,11 +1060,11 @@ def format_float_positional(x, precision=None, unique=True, trim : one of 'k', '.', '0', '-', optional Controls post-processing trimming of trailing digits, as follows: - 'k' : keep trailing zeros, keep decimal point (no trimming) - '.' : trim all trailing zeros, leave decimal point - '0' : trim all but the zero before the decimal point. Insert the - zero if it is missing. - '-' : trim trailing zeros and any trailing decimal point + * 'k' : keep trailing zeros, keep decimal point (no trimming) + * '.' : trim all trailing zeros, leave decimal point + * '0' : trim all but the zero before the decimal point. Insert the + zero if it is missing. + * '-' : trim trailing zeros and any trailing decimal point sign : boolean, optional Whether to show the sign for positive values. pad_left : non-negative integer, optional |