Re: [Matplotlib-users] Help with strange add_subplot behavior after change_geometry()...

2010-12-15 Thread Åke Kullenberg
I figured it out, I think. I read the docs ( http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure.add_axes) on add_axes and found the part about adding a label to a new axes to force matplotlib to add a new axes. So I changed this line from: subplot = self.figure.add_sub

[Matplotlib-users] Help with strange add_subplot behavior after change_geometry()...

2010-12-15 Thread Åke Kullenberg
I am using matplotlib in wxpython to dynamically add subplots to a figure and I am using the geometry_change() method to manage how they are shown. Basically I want all subplot to share the space evenly in one column. With the simple test code I have pasted in below I have run into some weird behav