-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
duplicate 🗐Seen it beforeSeen it beforeinvalid ⛔Not-an-issue or upstream (not-our-issue)Not-an-issue or upstream (not-our-issue)question/docs ‽Documentation clarification candidateDocumentation clarification candidateto-review 🔍Awaiting final confirmationAwaiting final confirmation
Description
I try the demo code:
from tqdm import trange
from time import sleep
for i in trange(10, desc='1st loop'):
for j in trange(5, desc='2nd loop', leave=False):
for k in trange(100, desc='3nd loop'):
sleep(0.01)
and I get a new line per update rather than a carrier-return (see below sample)
What could be the reason?
1st loop: 0%| | 0/10 [00:00<?, ?it/s]
2nd loop: 0%| | 0/5 [00:00<?, ?it/s]
3nd loop: 0%| | 0/100 [00:00<?, ?it/s]
3nd loop: 10%|█ | 10/100 [00:00<00:00, 92.96it/s]
3nd loop: 20%|██ | 20/100 [00:00<00:00, 93.60it/s]
3nd loop: 30%|███ | 30/100 [00:00<00:00, 94.18it/s]
3nd loop: 40%|████ | 40/100 [00:00<00:00, 94.64it/s]
reillychase, g3rfx, MarcusJones, misrasaurabh1, jleni and 6 more
Metadata
Metadata
Assignees
Labels
duplicate 🗐Seen it beforeSeen it beforeinvalid ⛔Not-an-issue or upstream (not-our-issue)Not-an-issue or upstream (not-our-issue)question/docs ‽Documentation clarification candidateDocumentation clarification candidateto-review 🔍Awaiting final confirmationAwaiting final confirmation