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
{{ message }}
This repository was archived by the owner on Oct 23, 2022. It is now read-only.
I think this program would be a lot better if it had some kind of GUI.
The GUI should let the user choose the graph type and which blocks to display. Letting the user to select the world is also neat (but it's not essential for the very first version).
Create a Tkinter GUI. Advantage: no extra dependencies, works on all platforms. Not sure how to display the graph in the interface, though. Maybe save as a temporary file and open it? Maybe save it to a bytestring and load from it?
[update]
Actually, matplotlib has plenty of backends, so it should be possible to plug it with GTK, Qt4, WxWidgets and probably also Tkinter. Check out the "backends/" dir from within matplotlib sources.
I think this program would be a lot better if it had some kind of GUI.
The GUI should let the user choose the graph type and which blocks to display. Letting the user to select the world is also neat (but it's not essential for the very first version).
Here are some ideas about how to implement it:
http://pythondialog.sourceforge.net/
https://bitbucket.org/denilsonsa/pygtk-matplotlib/src
[update]
Actually, matplotlib has plenty of backends, so it should be possible to plug it with GTK, Qt4, WxWidgets and probably also Tkinter. Check out the "backends/" dir from within matplotlib sources.