Hi Benjamin and others:
Thx for your comments. I've tried to follow your recommendations and simplify
the code:http://pastebin.com/JHhkcCzt
Prior to these modifications I would at least see my axes render on the
gridLayout object, but now that doesn't populate.
Here's my attempt to talk throu
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
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