clearing a figure

Jeff Whitaker wrote:

Chris: Never noticed this before, but apparently the parent axes instance is attached to the Line2d instance:

>>> from pylab import *
>>> l = plot([1,2,3])
>>> l[0].axes
<matplotlib.axes.Subplot instance at 0x3240e90>

cool! That could be handy.

thanks,

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...