Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tqdm creates new lines in output console #120529

Closed
bhanu-teja-nellore opened this issue Apr 5, 2021 · 2 comments
Closed

tqdm creates new lines in output console #120529

bhanu-teja-nellore opened this issue Apr 5, 2021 · 2 comments
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@bhanu-teja-nellore
Copy link

bhanu-teja-nellore commented Apr 5, 2021

I am using tqdm in my code to display progress bar

It works well in integrated terminal and jupyter notebook

However in output console it is creating new lines.

from tqdm.auto import tqdm, trange
from time import sleep

for i in trange(10, desc='1st loop', leave=True):
    sleep(0.1)`

Screenshot 2021-04-05 at 10 18 13 AM

@chrislun16
Copy link

Any idea where to find this issue? Would this be achievable by a newcomer?

@Tyriar
Copy link
Member

Tyriar commented Oct 7, 2021

The output panel is not a real terminal and only supports appending, not rewriting of lines.

@Tyriar Tyriar closed this as completed Oct 7, 2021
@Tyriar Tyriar added the *as-designed Described behavior is as designed label Oct 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

4 participants