GUI shows up after completion of first iteration of loop
koolkunz opened this issue · 0 comments
koolkunz commented
-
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
-
I have mentioned version numbers, operating system and
environment, where applicable: tdqm version : 4.66.1 , python version: 3.8.15 64 bit on Windows 10I am using tqdm.gui / tqdm.tk to show a GUI progress bar in my application, but there is this small issue where the GUI only shows up after the first iteration of loop/range is completed.
Example Code:
from time import sleep
from tqdm.gui import tqdm
for i in tqdm(range(1,5)):
print(i)
sleep(5)
In the above example, the GUI progress bar shows up 5 seconds after printing 1 in the console, ideally it should show up with 0% progress before 1 is printed to the console.