Re: [matplotlib-devel] Matplotlib plot problem

2014-12-08 Thread Matthew Albert
The code is extremely hard to follow, and I think it is a bad example to build off of in the first place (unnescessary subclassing). Perhaps a different example would be more suitable? What programming language are you coming from? Ben Root On Fri, Dec 5, 2014 at 4:12 PM, Matthew Albert

[matplotlib-devel] Matplotlib plot problem

2014-12-05 Thread Matthew Albert
I'm sure this is a simple problem, but I've been going around in circles several days trying to figure this out.   Here's my code.http://pastebin.com/n83dGhG4 Basically, I'm trying to get my pyqt4 button signal to execute the plot command (line 122).  A lot of this code was copied from the matpl

[matplotlib-devel] How to embed a matlibplot figure canvas into a pyqt4 GUI

2014-12-02 Thread Matthew Albert
Hi, I've used Qt Designer to construct a GUI.  An element of the GUI is a QGridLayout.  I've been trying to display a matplotlib plot in this QGridLayout.  I'm new at Python and have been trying to figure this out for the last week without success.  Essentially I'm trying to use elements of the