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

2014-12-02 Thread Benjamin Root
I think line 102 is your problem. self.axes doesn't exist yet. Ben Root P.S. - stuff like this will be covered in my upcoming book. I am wrapping up with the embedding chapter tonight, even! Stay tuned for announcements in the coming weeks. On Tue, Dec 2, 2014 at 5:00 PM, Matthew Albert wrote:

[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