objects.gui.mainFrame.NoRepaintCanvas Class Reference

FigureCanvasWxAgg subclass, overriding the _onPaint method, so that the draw method is only called for the first two paint events. More...

Inherits matplotlib::backends::backend_wxagg::FigureCanvasWxAgg.

List of all members.

Public Member Functions

def __init__


Detailed Description

FigureCanvasWxAgg subclass, overriding the _onPaint method, so that the draw method is only called for the first two paint events.

After that, the canvas will only be redrawn when it is resized. I forget why this is needed. It was recommended by the Matplotlib documentation. I'm not sure how useful it really is.

Definition at line 77 of file mainFrame.py.


Member Function Documentation

def objects.gui.mainFrame.NoRepaintCanvas.__init__ (   self,
  args,
  kwargs 
)

Definition at line 78 of file mainFrame.py.

00078                                        :
00079         FigureCanvasWxAgg.__init__(self, *args, **kwargs)
00080         self._drawn = 0
00081 
    def _onPaint(self, evt):


The documentation for this class was generated from the following file:

Generated on Mon Mar 30 00:26:22 2009 for EyeSpy by  doxygen 1.5.8