'Draw the figure using the renderer'

def draw(self):

    self.renderer = self.get_renderer(cleared=True)
    RendererAgg.lock.acquire()
    try:
        self.figure.draw(self.renderer)
    finally:
        RendererAgg.lock.release()
