Skip to content

textbase tqdm bar does not display correctly #15701

Closed
@ydmykr

Description

@ydmykr

Here's the codes:

from time import sleep
from tqdm import tqdm

for i in tqdm(range(100)):
    for j in tqdm(range(10), leave=False):
        sleep(0.1)

When running in the terminal, it shows correctly. It returns two progress bars, one for theiand one for the j in the loop.

However, when running in the jupyter notebook or Interactive Window, only the outermost i loop is displayed, and the progress bar of the j loop contained therein is not displayed.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugipywidgetsRendering, loading, saving, anything to do with IPyWidgetsupstream-otherCause by some other upstream package/app

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions