summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-03-31 10:14:34 -0600
committerGitHub <noreply@github.com>2021-03-31 10:14:34 -0600
commit179d62bc18174378e220c6babf3806b838f02229 (patch)
treef721f039d499316393989c9bd881f62fd27e676c
parentd177382065ca135b921175b94a79119c61a1dbd5 (diff)
downloadnumpy-179d62bc18174378e220c6babf3806b838f02229.tar.gz
DOC: Add versionadded for new min_digits argument.
-rw-r--r--numpy/core/arrayprint.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index d9d2dbe68..73d276463 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -1057,7 +1057,8 @@ def format_float_scientific(x, precision=None, unique=True, trim='k',
`unique=True`. In that case more digits than necessary to uniquely
identify the value may be printed and rounded unbiased.
-
+ -- versionadded:: 1.21.0
+
Returns
-------
rep : string
@@ -1142,6 +1143,8 @@ def format_float_positional(x, precision=None, unique=True,
Minimum number of digits to print. Only has an effect if `unique=True`
in which case additional digits past those necessary to uniquely
identify the value may be printed, rounding the last additional digit.
+
+ -- versionadded:: 1.21.0
Returns
-------