class_docstr: The canvas the figure renders into.  Calls the draw and print fig
  methods, creates the renderers, etc.
  
  Note: GUI templates will want to connect events for button presses,
  mouse movements and key presses to functions that call the base
  class methods button_press_event, button_release_event,
  motion_notify_event, key_press_event, and key_release_event.  See the
  implementations of the interactive backends for examples.
  
  Attributes
  ----------
  figure : `~matplotlib.figure.Figure`
      A high-level Figure instance
class_docstr_tok: ["The","canvas","the","figure","renders","into",".","Calls","the","draw","and","print","fig","methods",",","creates","the","renderers",",","etc",".","Note",":","GUI","templates","will","want","to","connect","events","for","button","presses",",","mouse","movements","and","key","presses","to","functions","that","call","the","base","class","methods","button_press_event",",","button_release_event",",","motion_notify_event",",","key_press_event",",","and","key_release_event",".","See","the","implementations","of","the","interactive","backends","for","examples",".","Attributes","--","--","--","--","--","figure",":","`","~matplotlib.figure.Figure","`","A","high-level","Figure","instance"]
docstr: Draw the figure using the renderer.
  
  It is important that this method actually walk the artist tree
  even if not output is produced because this will trigger
  deferred work (like computing limits auto-limits and tick
  values) that users may want access to before saving to disk.
docstr_tok: ["Draw","the","figure","using","the","renderer",".","It","is","important","that","this","method","actually","walk","the","artist","tree","even","if","not","output","is","produced","because","this","will","trigger","deferred","work","(","like","computing","limits","auto-limits","and","tick","values",")","that","users","may","want","access","to","before","saving","to","disk","."]
code: def draw(self):
      """
      Draw the figure using the renderer.
  
      It is important that this method actually walk the artist tree
      even if not output is produced because this will trigger
      deferred work (like computing limits auto-limits and tick
      values) that users may want access to before saving to disk.
      """
      renderer = RendererTemplate(self.figure.dpi)
      self.figure.draw(renderer)
  
imports: from matplotlib import _api
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import FigureCanvasBase, FigureManagerBase, GraphicsContextBase, RendererBase
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 for calling the FigureCanvasTemplate obj's underlying member method code with example usage: obj.draw() without return types