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"]
code: def get_default_filetype(self):
      return "foo"
  
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 3 for calling the FigureCanvasTemplate obj's underlying member method code with example usage: obj.get_default_filetype() and returns: str