rsalmei/alive-progress

Jupyter environment

brunolnetto opened this issue · 3 comments

How to make this great tool work on jupyter notebook cells?

It should work already. Is it not working for you?

I tried to apply on a future.concurrent application without much of a success. Is the library suitable for such cases?

Take for instance the code below on jupyter notebook. It only displays the last bar frame.

from alive_progress import alive_bar
from time import sleep

n = 1000
with alive_bar() as bar:
    for i in range(n):
        bar()
        sleep(0.01)  # Pause for 0.1 seconds