Open
Description
Description
For whatever reason, the red->green color progression gets interrupted by red a little over halfway through.
After some experimentation, the range is about 57.3214286% to 58.3333333%.
Code
from time import sleep
from progressbar import ProgressBar
with ProgressBar(0,1000) as bar:
for n in range(565,590):
bar.update(n)
sleep(.5)
Versions
- Python 3.12.9 (pyenv)
- CPython
- macOS 15.4.1
- progressbar2 4.5.0
- VSCode terminal
Metadata
Metadata
Assignees
Labels
No labels