Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tqdm_notebook progress bar not scaled #1399

Open
4 tasks done
davidemollica opened this issue Nov 28, 2022 · 0 comments · May be fixed by #1461
Open
4 tasks done

tqdm_notebook progress bar not scaled #1399

davidemollica opened this issue Nov 28, 2022 · 0 comments · May be fixed by #1461

Comments

@davidemollica
Copy link

davidemollica commented Nov 28, 2022

  • I have marked all applicable categories:
    • visual output bug
  • I have visited the [source website], and in particular read the [known issues]
  • I have searched through the [issue tracker] for duplicates

Seems like tqdm.n (or tqdm.pbar.value) is not converted to the custom unit.

Example:

from tqdm.auto import tqdm
from time import sleep

for scale in range(1,6):
  for i in tqdm(range(100), unit='my_unit', unit_scale=scale):
      sleep(0.001)

Output:

tqdm

Running on Linux Mint 20.3 with latest version of tqdm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant