Skip to content

progress bar in jupyter notebook #49

@samsja

Description

@samsja

Hey,

I discover a issue while using ProgressBar in a notebook, the progress bar is print at each new iteration instead of refreshing as excepted.

How to reproduce the error:

launch the following code in either jupyter lab or jupyter notebook.

using ProgressBars
for i in tqdm(0:3)
    sleep(0.1)
end

here is the output:

2021-10-29-125616_1920x1080_scrot

Is there a way to proprely use progress bar in notebook ? Maybe like tqdm.auto_notebook ?

Otherwise I would be glad to work on a PR.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions