class_docstr: The renderer handles all the drawing primitives using a graphics
  context instance that controls the colors/styles
class_docstr_tok: ["The","renderer","handles","all","the","drawing","primitives","using","a","graphics","context","instance","that","controls","the","colors\/styles"]
code: def __init__(self, width, height, dpi):
      super().__init__()
  
      self.dpi = dpi
      self.width = width
      self.height = height
      self._renderer = _RendererAgg(int(width), int(height), dpi)
      self._filter_renderers = []
  
      self._update_methods()
      self.mathtext_parser = MathTextParser("agg")
  
      self.bbox = Bbox.from_bounds(0, 0, self.width, self.height)
  
imports: from contextlib import nullcontext
  from math import radians, cos, sin
  import numpy
  import matplotlib
  from matplotlib import _api, cbook
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, RendererBase
  from matplotlib.font_manager import fontManager, get_font
  from matplotlib.ft2font import LOAD_FORCE_AUTOHINT, LOAD_NO_HINTING, LOAD_DEFAULT, LOAD_NO_AUTOHINT
  from matplotlib.mathtext import MathTextParser
  from matplotlib.path import Path
  from matplotlib.transforms import Bbox, BboxBase
  from matplotlib.backends._backend_agg import RendererAgg
label_desc: Use image node_id 1 to create a new RendererAgg object from inherited base classes: RendererBase with example: obj = RendererAgg(width, height, dpi)