You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand StackOverflow#tqdm is more appropriate)
I often write loops that i need to slow down (for real time simulations, animations, sending data to peripherals at specific intervals). Now I often add boilerplate sleep code to my loop, but it could easily be integrated into tqdm. I would love it if there was an option like for i in tqdm(range(N), target_looptime=0.01): and then i not only get a progress bar, but also my loop runs at 100 iterations per (wall-clock) second, if possible. If not possible, then the loop should run as fast as possible as if the option was never specified.
Do you see this as feasible/desirable?
The text was updated successfully, but these errors were encountered:
read the known issues
environment, where applicable:
I often write loops that i need to slow down (for real time simulations, animations, sending data to peripherals at specific intervals). Now I often add boilerplate
sleep
code to my loop, but it could easily be integrated intotqdm
. I would love it if there was an option likefor i in tqdm(range(N), target_looptime=0.01):
and then i not only get a progress bar, but also my loop runs at 100 iterations per (wall-clock) second, if possible. If not possible, then the loop should run as fast as possible as if the option was never specified.Do you see this as feasible/desirable?
The text was updated successfully, but these errors were encountered: