Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 746 Bytes

File metadata and controls

26 lines (19 loc) · 746 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). format, width, and precision control the rendering.

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

Example

.. demo:: widgets/variable

See also