Skip to content

tqdm_notebook fails with non-integer update. #456

@tsbertalan

Description

@tsbertalan

In a Jupyter notebook, if I do

import tqdm, time
pbar = tqdm.tqdm(total=10)
for k in range(10):
    pbar.update(.1)
    time.sleep(.1)

I get a bar with no problems, but

import tqdm, time
pbar = tqdm.tqdm_notebook(total=10)
for k in range(100):
    pbar.update(.1)
    time.sleep(.1)

fails with ValueError: invalid literal for int() with base 10: '0.2'. This worked until quite recently.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions