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
How to not display ETA and rate #40
Comments
It's not currently possible to disable the ETA nor it/s, but you can resize the progress bar by using the |
But if you really want to do that, and don't mind getting "hacky", you can manually edit these lines to remove what you don't want: https://github.com/tqdm/tqdm/blob/master/tqdm/_tqdm.py#L135-L136 |
We could add arguments to disable eta, it/s if requested by enough other people. In the mean time, define your own format_meter function based on the comment above.... |
Just an idea: we could just add one parameter which would be a list of parameters to show. If none, then it would default to show all parameters. |
Another way would be to directly let the user define the template of the bar, like they did here with the https://github.com/aplavin/ipy-progressbar/blob/ipy2/ipy_progressbar/terminal_bar.py#L13
|
👍 to the custom format (even though it will negatively affect speed) |
Yes but the speed decrease will only appear if the user sets a custom 2015-12-19 1:16 GMT+01:00 Casper da Costa-Luis [email protected]:
|
ok. all done (with custom format string) |
I am very confused. Judging by reading all of this, you guys have since added in bar_format as an option. 79% 7141647/9000000 [00:03<00:00, 2126903.64it/s] |
@PyTis that'a because you used
I think you can drop the |
You were right! Thank you so very much. Now, my output is just a percentage, as desired, with one caveat, that I could "live" with, but would much prefer to do without. The percentage is followed by a pipe ("|"). Do you know how I can get rid of that? Last but not least question, though you need not answer this if you don't want to, I am sure I can figure it out on my own, but what is the "lightest" version of what I am using this for, that I can "export?" I would rather just a single file to pull and add to my code base (proper copyright of original author left in place of course). It would make packaging my project much easier, as it would remove the dependency. If there isn't such a thing, well if it isn't easy I mean, then perhaps that should be a suggestion to the authors, to package a "light" percentage only version, or at least one where all of the code is,... what is the word I am looking for,... "simplified?" "condensed?"... no,.. AH! "Minified!" |
P.S. I have "Watched" and "Stared" this project, I love it, I think it is a great, and very useful library! Thank you very much. I have some down time right now, and I am working on turning my 150+ personal scripts into useful, documented libraries myself. They are all done, and working, but need "cleaned," and prepped for release. |
simply directly use
Probably just
I can help with this and have done the same with some of my scripts - do you have any links to your current code? |
I hate be a complainer to a library that seems to be so well mantained and used but the default setting are confusing. The ETA is shown (I presume) by a less than or equal:
I assume Code:
|
|
Just chiming in with another example in case it's useful to someone who comes across this post. The code below gives the text "Loading: ", the percentage progress, a vertical bar, and then the progress bar. Full example here.
Loading: 15%|█▌ |
@casperdcl so is the invariant that the sum always shows the total time estimated to finish the run? |
means 38 hours remaining?! |
I guess it would be nice to have more examples on how to modify the progress bar line, in particular reducing the detail level that |
how to disable viewing of ETA and it/s in progressbar for more minimal output
The text was updated successfully, but these errors were encountered: