code: def __init__(self, gtkDA, dpi):
      # widget gtkDA is used for:
      #  '<widget>.create_pango_layout(s)'
      #  cmap line below)
      self.gtkDA = gtkDA
      self.dpi = dpi
      self._cmap = gtkDA.get_colormap()
      self.mathtext_parser = MathTextParser("Agg")
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import warnings
  import gobject
  import gtk
  import pango
  import numpy
  import matplotlib
  from matplotlib import rcParams
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, GraphicsContextBase, RendererBase
  from matplotlib.cbook import warn_deprecated
  from matplotlib.mathtext import MathTextParser
  from matplotlib.transforms import Affine2D
  from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
label_desc: Use image node_id 1 to create a new RendererGDK object from inherited base classes: RendererBase with example: obj = RendererGDK(gtkDA, dpi)