code: def draw(self):
          
          if __debug__: verbose.report('FigureCanvasAgg.draw', 'debug-annoying')
  
          self.renderer = self.get_renderer(cleared=True)
          # acquire a lock on the shared font cache
          RendererAgg.lock.acquire()
  
          try:
              self.figure.draw(self.renderer)
          finally:
              RendererAgg.lock.release()
docs: Draw the figure using the renderer