Comments (6)
I don't say it's a bad idea but I think it can be difficult to add a matplotlib backend in a clean way. But feel free to try it if you think it can be usefull to you and others.
I don't actively use tqdm anymore (I will in a few months) but the thing I was thinking about sometime ago was to add an IPython widget backend that display a nice JS/CSS progress bar.
from tqdm.
Hmm re: ipython, there's stuff like https://github.com/flying-sheep/smart-progress
from tqdm.
Instead of making a standalone GUI for TQDM, maybe an integration with Gooey could be good? (making the GUI progress bar sync with TQDM). I think it would be more useful for most devs and users than a standalone GUI for TQDM, to me, a GUI progress bar is only useful when it's part of a GUI to configure the parameters of the app.
About ipython, TQDM is already compatible and works perfectly well, so there's no need to do anything (it should also work with the interactive widgets since the output is still piped from stdout).
from tqdm.
Ah sorry Casper, I just saw you already made a branch with the GUI modification. Since you've done it, I think it can be a good addition, I'm sure some users can find it useful. The only tiny issue is that it adds quite a bit of complexity to the code. I saw you tried to modularize it, but do you think it's possible to separate the logic even more? I think that the more the GUI is separated logically, better it is to avoid any conflict with the base code (ie, if the GUI gets a flaw in the future, it won't affect the commandline progress bar).
Just my 2 cents, it's up to you to see, I'm no expert :)
from tqdm.
Yeah the code duplication issue is similar to #9 but it seems necessary for speed optimisation... not an awfully long function so don't think it's too much of an issue... but if you can think of an elegant fix I'd be grateful...
from tqdm.
Closed by pr #29
from tqdm.
Related Issues (20)
- GUI shows up after completion of first iteration of loop
- RFE: ability to provide tqdm with a hint that iteration time is expected to grow linearly.
- Context manager to disable tqdm output from inside it HOT 1
- Feature request: Allow using lambdas in postfix
- Progress bar changes completely after using SpotDL
- Use of `datetime.datetime.utcfromtimestamp` shows `DeprecationWarning` in Python 3.12
- Cli: fence-posting problem
- CLI: Cannot mix `leave`
- AttributeError Exception under a console-less PyInstaller build
- CLI: Does not work with bash `continue`
- envwrap checks os.environ on import not on call
- Error displaying progress bar with threads
- Error enabling progress bar
- tqdm bar cannot update correctly when use pdsh
- Set `ncols='100%'` raise `TypeError` in jupyter lab
- Being able to override tqdm style globally
- AttributeError: 'tqdm' object has no attribute 'last_print_t' on Python 3.12
- Feature proposal: JSON output to arbitrary FD to allow programmatic consumers
- PackageNotFoundError
- Name the TMonitor thread?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tqdm.