From 179d62bc18174378e220c6babf3806b838f02229 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 31 Mar 2021 10:14:34 -0600 Subject: DOC: Add versionadded for new min_digits argument. --- numpy/core/arrayprint.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'numpy/core/arrayprint.py') 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 ------- -- cgit v1.2.1