- navis.set_pbars(hide=None, leave=None, jupyter=None)¶
Set global progress bar behaviors.
hide (bool, optional) – Set to True to hide all progress bars.
leave (bool, optional) – Set to False to clear progress bars after they have finished.
jupyter (bool, optional) – Set to False to force using of classic tqdm even if in Jupyter environment.
- Return type:
>>> from navis.utils import set_pbars >>> # Hide progress bars after finishing >>> set_pbars(leave=False) >>> # Never show progress bars >>> set_pbars(hide=True) >>> # Never use Jupyter widget progress bars >>> set_pbars(jupyter=False)