-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
- I've checked docs and closed issues for possible solutions.
- I can't find my issue in the FAQ.
Describe the bug
- There is an empty output cell coming after progress bar is completed.
Provide a minimal code example that demonstrates the issue if you can.
from rich.progress import Progress, BarColumn
import time
# create a progress bar, increase by 10% for each iteration with a delay 2 seconds and a description of the task
progress_bar = Progress(
"[progress.description]{task.description}",
BarColumn(),
"[progress.percentage]{task.percentage:>3.0f}%",
)
progess_task = progress_bar.add_task("Processing", total=10)
progress_bar.start()
for _ in range(10):
progress_bar.update(progess_task, advance=1)
time.sleep(2)
# close the progress bar
progress_bar.stop()
Screenshot:

If you're using Rich in a Jupyter Notebook, run the following snippet in a cell
and paste the output in your bug report.
from rich.diagnose import report
report()
