I'm not sure I understand correctly, but if you delete all the axes / subplots
of your figure you cannot expect a graph showing up.
Maybe what you want to do is just changing the geometry of an existing axes
with something like:
self.subplot1.change_geometry(2, 2, 3)
and delete only those subplots, that aren't needed for further plotting.
On Thursday 04 June 2009 19:33:25 Markus Feldmann wrote:
i want to change my subplots sometimes, but how to do this ?
I am adding subplots with this command:
self.subplot1 = self.figure.add_subplot(211)
Deleting axes with(as i read in this mailing list):
[self.figure.delaxes(a) for a in self.figure.get_axes()]
but then i can not show up my graph.
What do i have to do ?