Re: [Matplotlib-users] how to remove a subplot

2009-06-03 Thread John Hunter
On Wed, Jun 3, 2009 at 12:33 PM, TP wrote: > Hi everybody, > > I want to delete a subplot from my figure. How to do that? > > For example, I would like to remove the right subplot in the following > example: > > > from pylab import * > > ion() > f = figure() > s = f.add_su

[Matplotlib-users] how to remove a subplot

2009-06-03 Thread TP
Hi everybody, I want to delete a subplot from my figure. How to do that? For example, I would like to remove the right subplot in the following example: from pylab import * ion() f = figure() s = f.add_subplot("121") X1 = arange( 0.0, 5.0, 0.1 ) s.plot( X1, X1**2) s =