docstr: Draw text on the image.
  
  Parameters
  ----------
  text : string
      The text to draw
  position : tuple
      The (x, y) position of the text
  coordinates : string
      A string code, which should be either 'data' for data coordinates,
      or 'figure' for figure (pixel) coordinates.
  style : dictionary
      a dictionary specifying the appearance of the text.
  text_type : string or None
      if specified, a type of text such as "xlabel", "ylabel", "title"
  mplobj : matplotlib object
      the matplotlib plot element which generated this text
docstr_tok: ["Draw","text","on","the","image",".","Parameters","--","--","--","--","--","text",":","string","The","text","to","draw","position",":","tuple","The","(","x",",","y",")","position","of","the","text","coordinates",":","string","A","string","code",",","which","should","be","either","'data","'","for","data","coordinates",",","or","'figure","'","for","figure","(","pixel",")","coordinates",".","style",":","dictionary","a","dictionary","specifying","the","appearance","of","the","text",".","text_type",":","string","or","None","if","specified",",","a","type","of","text","such","as","``","xlabel","''",",","``","ylabel","''",",","``","title","''","mplobj",":","matplotlib","object","the","matplotlib","plot","element","which","generated","this","text"]
code: def draw_text(
      self,
      text,
      position,
      coordinates,
      style,
      text_type=None,
      mplobj=None,
  ):
      """
      Draw text on the image.
  
      Parameters
      ----------
      text : string
          The text to draw
      position : tuple
          The (x, y) position of the text
      coordinates : string
          A string code, which should be either 'data' for data coordinates,
          or 'figure' for figure (pixel) coordinates.
      style : dictionary
          a dictionary specifying the appearance of the text.
      text_type : string or None
          if specified, a type of text such as "xlabel", "ylabel", "title"
      mplobj : matplotlib object
          the matplotlib plot element which generated this text
      """
      raise NotImplementedError()
  
imports: import warnings
  import itertools
  from contextlib import contextmanager
  from packaging.version import Version
  import numpy
  import matplotlib
  from matplotlib import transforms
  from ..None import utils
label_desc: Use image node_id 21 for calling the Renderer obj's underlying member method code with example usage: obj.draw_text(text, position, coordinates, style, text_type, mplobj) without return types