@header@
 
 
matplotlib.figure
index
/usr/local/lib/python2.3/site-packages/matplotlib/figure.py

 
Classes
       
matplotlib.artist.Artist
Figure

 
class Figure(matplotlib.artist.Artist)
     Methods defined here:
__init__(self, figsize=[8.0, 6.0], dpi=80.0, facecolor=0.75, edgecolor='w')
paper size is a w,h tuple in inches
DPI is dots per inch
add_axis(self, a)
clear(self)
Clear the figure
clf(self)
Clear the figure
copy_properties(self, other)
get_axes(self)
get_edgecolor(self)
Get the edge color of the Figure rectangle
get_facecolor(self)
Get the face color of the Figure rectangle
get_window_extent(self, renderer=None)
Return the window extent of the figure
legend(self, handles, labels, loc)
Place a legend in the figure.  Labels are a sequence of
strings, handles is a sequence of line or patch instances, and
loc can be a string or an integer specifying the legend
location
 
USAGE: 
  legend( (line1, line2, line3),
          ('label1', 'label2', 'label3'),
          'upper right')
 
The LOC location codes are
 
  'best' : 0,          (currently not supported, defaults to upper right)
  'upper right'  : 1,  (default)
  'upper left'   : 2,
  'lower left'   : 3,
  'lower right'  : 4,
  'right'        : 5,
  'center left'  : 6,
  'center right' : 7,
  'lower center' : 8,
  'upper center' : 9,
  'center'       : 10,
 
The legend instance is returned
resize(self)
update the bbox in response to resize events or dpi changes
and pass the info to axes
set_edgecolor(self, color)
Set the edge color of the Figure rectangle
set_facecolor(self, color)
Set the face color of the Figure rectangle
text(self, x, y, s, *args, **kwargs)
Add text to figure at location x,y (relative 0-1 coords) See
the help for Axis text for the meaning of the other arguments

Methods inherited from matplotlib.artist.Artist:
draw(self, renderer=None, *args, **kwargs)
Derived classes drawing method
get_alpha(self)
Return the alpha value used for blending - not supported on
all backends
get_child_artists(self)
Return all artists contained in self
get_clip_on(self)
Return whether artist uses clipping
get_dpi(self)
Get the DPI of the display
get_visible(self)
return the artist's visiblity
set_alpha(self, alpha)
Set the alpha value used for blending - not supported on
all backends
set_child_attr(self, attr, val)
Set attribute attr for self, and all child artists
set_clip_on(self, b)
Set whether artist is clipped to bbox
set_lod(self, on)
Set Level of Detail on or off.  If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
set_visible(self, b)
set the artist's visiblity

Data and other attributes inherited from matplotlib.artist.Artist:
aname = 'Artist'

 
Data
        rcParams = {'axes.edgecolor': 'k', 'axes.facecolor': 'w', 'axes.grid': False, 'axes.labelcolor': 'k', 'axes.labelsize': 12.0, 'axes.linewidth': 0.5, 'axes.titlesize': 14.0, 'backend': 'GTKAgg', 'datapath': '/usr/local/share/matplotlib', 'figure.dpi': 80.0, ...}
@footer@