mirror of https://github.com/tqdm/tqdm.git
minor documentation update
This commit is contained in:
parent
d700e19542
commit
ceac869998
|
@ -338,10 +338,10 @@ Parameters
|
|||
[default: '{l_bar}{bar}{r_bar}'], where
|
||||
l_bar='{desc}: {percentage:3.0f}%|' and
|
||||
r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, '
|
||||
'{rate_fmt}{postfix}]'
|
||||
'{rate_fmt}{postfix}]'
|
||||
Possible vars: l_bar, bar, r_bar, n, n_fmt, total, total_fmt,
|
||||
percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt,
|
||||
rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix.
|
||||
percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt,
|
||||
rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix.
|
||||
Note that a trailing ": " is automatically removed after {desc}
|
||||
if the latter is empty.
|
||||
* initial : int, optional
|
||||
|
|
|
@ -691,11 +691,13 @@ class tqdm(object):
|
|||
(current/instantaneous speed) [default: 0.3].
|
||||
bar_format : str, optional
|
||||
Specify a custom bar string formatting. May impact performance.
|
||||
If unspecified, will use '{l_bar}{bar}{r_bar}', where l_bar is
|
||||
'{desc}: {percentage:3.0f}%|' and r_bar is
|
||||
'| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, {rate_fmt}]'
|
||||
Possible vars: bar, n, n_fmt, total, total_fmt, percentage,
|
||||
rate, rate_fmt, elapsed, remaining, l_bar, r_bar, desc.
|
||||
[default: '{l_bar}{bar}{r_bar}'], where
|
||||
l_bar='{desc}: {percentage:3.0f}%|' and
|
||||
r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, '
|
||||
'{rate_fmt}{postfix}]'
|
||||
Possible vars: l_bar, bar, r_bar, n, n_fmt, total, total_fmt,
|
||||
percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt,
|
||||
rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix.
|
||||
Note that a trailing ": " is automatically removed after {desc}
|
||||
if the latter is empty.
|
||||
initial : int, optional
|
||||
|
|
Loading…
Reference in New Issue