Module wxmpl :: Class AxesLimits
[show private | hide private]
[frames | no frames]

Class AxesLimits


Alters the X and Y limits of Axes objects while maintaining a history of the changes.
Method Summary
  __init__(self)
  _get_history(self, axes)
Returns the history list of X and Y limits associated with axes.
  restore(self, axes)
Changes the X and Y limits of axes to their previous values.
  set(self, axes, xrange, yrange)
Changes the X and Y limits of axes to xrange and {yrange} respectively.
  zoomed(self, axes)
Returns a boolean indicating whether axes has had its limits altered.

Method Details

_get_history(self, axes)

Returns the history list of X and Y limits associated with axes.

restore(self, axes)

Changes the X and Y limits of axes to their previous values. A boolean indicating whether or not the axes should be redraw is returned.

set(self, axes, xrange, yrange)

Changes the X and Y limits of axes to xrange and {yrange} respectively. A boolean indicating whether or not the axes should be redraw is returned, because polar axes cannot have their limits changed sensibly.

zoomed(self, axes)

Returns a boolean indicating whether axes has had its limits altered.

Generated by Epydoc 2.1 on Mon Aug 28 13:47:49 2006 http://epydoc.sf.net