utils.set_backend()

Select the progress-bar backend.

Usage

Source

utils.set_backend(backend)

Parameters

backend: str
"tqdm" (default) or "rich". When "rich" is requested but the rich package is not installed, track() silently falls back to tqdm.

Raises

ValueError
If backend is not one of the supported values.