millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 123 forks source link

tqdm progress bars show up on different lines #851

Closed kanodiaayush closed 2 years ago

kanodiaayush commented 2 years ago
from tqdm import tqdm
from time import sleep
for i in tqdm(range(0, 100), total = 500, desc="random"):
  sleep(.1)

When I try this, I do not get an updating progress bar on a single line. It prints every progress bar line on a new line. I am probably making a simple mistake. What am I missing?

dickmao commented 2 years ago

No mistake. tqdm won't work, and similarly dynamic text cum widgets will trip up EIN's fragile undo mechanism.

kanodiaayush commented 2 years ago

Hmmm what do you suggest then for training models that requires a progress bar?

dickmao commented 2 years ago

A proper browser.

kanodiaayush commented 2 years ago

Okay, thank you! So hard to move to browser sigh.