Skip to content

jitter in IPython notebook #50

@kmike

Description

@kmike

Hey,

This is how tqdm 2.2.4 looks in IPython notebook: http://www.youtube.com/watch?v=GjRHAmj_xfc

This is how it used to look in 1.0: http://www.youtube.com/watch?v=t7e6IEdEaTc

Red color is fine (we're using stderr now, and it makes sense), but I think text shouldn't jump by default, and progress bar looks untidy (it is not image compression artifact - there are vertical lines, and the last symbol doesn't have the same height as other symbols).

I also find old elapsed: ... left: ... to be easier to understand than new ...<..., but that's a personal preference :)

Code:

import time
import random
from tqdm import tqdm

x = range(343)

for el in tqdm(x, "Loading", mininterval=0, leave=True):
    time.sleep(random.random() * 0.01)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions