question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clear bar once it's done (quantifying mode)

See original GitHub issue

Hello,

Thank you for this package, animations are really cool.

I would like to display several times progress bar, and clear the previous progress bar before starting the new one. It seems not possible to clear a progress bar once it’s finished or did I miss something ?

for epoch in range(10):
    with alive_bar(100, bar="blocks", title=f"[Epoch: {epoch}]") as bar:
        for i in range(100):
            time.sleep(0.01)
            bar()

image

Thanks

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rsalmeicommented, Jan 31, 2022

@mxrch If you meant not to print the final receipt once the processing is finished, this is done! Should be released today.

Quantifying mode is still on that stash… 😓

0reactions
mxrchcommented, Feb 26, 2022

@TheTechRobo Yes, I didn’t see that quantifying mode is not done yet. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculate the mode from a bar graph - YouTube
The mode is the value in a set of data that occurs the most often. There is a common mistake many people make...
Read more >
alive-progress - PyPI
In this mode, the whole progress bar is animated, as it's not possible to determine the percentage, and therefore the ETA. But you...
Read more >
Advanced options - Microsoft Support
Editing options. After pressing Enter, move selection Makes an adjacent cell the next active cell after you press ENTER in the current active...
Read more >
A Complete Guide to Histograms | Tutorial by Chartio
When bin sizes are consistent, this makes measuring bar area and height equivalent. In a histogram with variable bin sizes, however, the height...
Read more >
How to Read Cell Phone Signal Strength The Right Way
Most people check the bars on their phone. ... -90 dBm or over is good and reliable. ... Once off, here's how to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found