Hello,

As part of my PyQt learning process, I've recoded my "embedding matplotlib
into wxPython demo"
(http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/) in
PyQt. Here's the resulting code:

http://paste.pocoo.org/show/100359/

The demo features:

* Using the navigation toolbar
* Adding data to the plot
* Dynamically modifying the plot's properties
* Processing mpl events
* Saving the plot to a file from a menu

It was a rather pleasant experience - PyQt binds to matplotlib very well.
One thing I missed from the wxPython version is built-in labels for the
slider widget that specify its maximal, minimal and current values. Also,
the response to dragging the slider was not as immediate as with wxPython.
Are the slots being sent too often, or perhaps they're slower than
wxPython's events?

I'll be glad to hear any comments and suggestions on the code.

Eli

-- 
View this message in context: 
http://www.nabble.com/Embedding-matplotlib-into-PyQt-tp21542889p21542889.html
Sent from the PyQt mailing list archive at Nabble.com.

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to