malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
13 stars 23 forks source link

Do not leave tqdm progress bars #455

Closed alimanfoo closed 9 months ago

alimanfoo commented 9 months ago

Currently tqdm progress bars remain visible after the progress of the computation has completed. However, this leaves output in the notebook, which can look ugly especially when a notebook is reopened later.

The tqdm functions support a leave parameter which if set to False will remove the progress bar after it's completed. Suggest setting this to False so progress bars are removed after finished.

alimanfoo commented 9 months ago

This would allow tqdm to play nicely with spinners (xref #454). E.g.:

Peek 2023-11-30 10-59