code: def draw(self, drawDC=None):
          
          DEBUG_MSG("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)
docs: Render the figure using agg.