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
When backend=False, a blank line is still printed to the console.
This seems to be caused by the fp.write('\n') in tqdm.close(). (if leave=False, it prints \r instead)
I've worked around this by passing a handle to os.devnull as file=. I'm not sure what the best way to work around in stqdm itself would be. It seems like a bug in tqdm that it always prints this if display is never called.
Describe the bug
When
backend=False
, a blank line is still printed to the console.This seems to be caused by the
fp.write('\n')
intqdm.close()
. (ifleave=False
, it prints\r
instead)I've worked around this by passing a handle to
os.devnull
asfile=
. I'm not sure what the best way to work around in stqdm itself would be. It seems like a bug in tqdm that it always prints this if display is never called.To Reproduce
streamlit run
this:Prints:
Expected behavior
When
backend=False
, nothing is printed at all. (The above example would have no blank line betweenbefore
andafter
.)Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: