@header@
 
 
matplotlib.legend
index
/matplotlib/legend.py

Place a legend on the axes at location loc.  Labels are a
sequence of strings and loc can be a string or an integer
specifying the legend location
 
The 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,
 
Return value is a sequence of text, line instances that make
up the legend

 
Modules
       
sys

 
Classes
       
matplotlib.artist.Artist
Legend

 
class Legend(matplotlib.artist.Artist)
    Place a legend on the axes at location loc.  Labels are a
sequence of strings and loc can be a string or an integer
specifying the legend location
 
The 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,
 
Return value is a sequence of text, line instances that make
up the legend
 
  Methods defined here:
__init__(self, axis, handles, labels, loc)
get_child_artists(self)
get_window_extent(self)

Data and other attributes defined here:
AXESPAD = 0.02
FONTSIZE = 10
HANDLELEN = 0.050000000000000003
HANDLETEXTSEP = 0.02
LABELSEP = 0.0050000000000000001
NUMPOINTS = 4
PAD = 0.20000000000000001
codes = {'best': 0, 'center': 10, 'center left': 6, 'center right': 7, 'lower center': 8, 'lower left': 3, 'lower right': 4, 'right': 5, 'upper center': 9, 'upper left': 2, ...}

Methods inherited from matplotlib.artist.Artist:
draw(self, drawable=None, *args, **kwargs)
Derived classes drawing method
get_clip_on(self)
Return whether artist uses clipping
get_dpi(self)
Get the DPI of the display
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_transform(self, transform)
Set the artist transform for self and all children

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

 
Data
        False = False
Float = 'd'
True = True
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
@footer@