Re: [matplotlib-devel] Matplotlib plot problem

2014-12-05 Thread Benjamin Root
I would look at line 24/25. You are constructing a MyStaticMplCanvas instance on 24, with a self.main_widget as the parent. But then on 25, you explicitly call the constructor again (which is not a good idea), but with the main window as the parent (the self argument). I bet that is throwing off a

[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