Module pygplot :: Class _Legend
[show private | hide private]
[frames | no frames]

Class _Legend

_Object --+
          |
         _Legend


A class used by the Plot class to make a legend. We need a reference to the parent Plot class, so that we can access the data attributes.
Method Summary
  __init__(self, parent, height, width, position, dx, dy, bbox, fsize, font, color, linewidth)
  _bounding_box(self, width, height)
Returns (x1,x2,y1,y2), which is the bounding box of the legend, given the width and height of the text of the legend in world coords.
  _get_scale(self)
  plot(self)
    Inherited from _Object
  __getattr__(self, name)

Method Details

_bounding_box(self, width, height)

Returns (x1,x2,y1,y2), which is the bounding box of the legend, given the width and height of the text of the legend in world coords.

Generated by Epydoc 2.1 on Tue Sep 25 12:14:22 2007 http://epydoc.sf.net