navis.set_pbars¶
- navis.set_pbars(hide=None, leave=None, jupyter=None)[source]¶
Set global progress bar behaviors.
- Parameters:
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:
Nothing
Examples
>>> 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)