class_docstr: The canvas the figure renders into.  Calls the draw and print fig
  methods, creates the renderers, etc...
  
  Events such as button presses, mouse movements, and key presses
  are handled in the C code and the base class methods
  button_press_event, button_release_event, motion_notify_event,
  key_press_event, and key_release_event are called from there.
  
  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","...","Events","such","as","button","presses",",","mouse","movements",",","and","key","presses","are","handled","in","the","C","code","and","the","base","class","methods","button_press_event",",","button_release_event",",","motion_notify_event",",","key_press_event",",","and","key_release_event","are","called","from","there",".","Attributes","--","--","--","--","--","figure",":","`","matplotlib.figure.Figure","`","A","high-level","Figure","instance"]
code: def draw(self):
      self.invalidate()
      self.flush_events()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import os
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, NavigationToolbar2, TimerBase
  from matplotlib.figure import Figure
  from matplotlib import rcParams
  from matplotlib.widgets import SubplotTool
  import matplotlib
  from matplotlib.backends import _macosx
  from .backend_agg import FigureCanvasAgg
label_desc: Use image node_id 4 for calling the FigureCanvasMac obj's underlying member method code with example usage: obj.draw() without return types