'Render the figure using agg.'

def draw(self, drawDC=None):

    DEBUG_MSG(u'draw()', 1, self)
    FigureCanvasAgg.draw(self)
    self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
    self._isDrawn = True
    self.gui_repaint(drawDC=drawDC, origin=u'WXAgg')
