Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 838 Bytes

File metadata and controls

27 lines (20 loc) · 838 Bytes

Variable

Variable displays a live, named value with custom formatting.

Reach for it to track a value that is not the bar's own progress -- a loss, a learning rate, a username -- updated via bar.update(name=value). Compare Postfix for several values rendered together as one compact suffix, and DynamicMessage for the original name of this same widget.

.. autoclass:: progressbar.widgets.Variable
   :members:
   :show-inheritance:
   :no-index:

Example

.. demo:: widgets/variable

See also