class_docstr: The FigureCanvas contains the figure and does event handling.
  
  In the wxPython backend, it is derived from wxPanel, and (usually)
  lives inside a frame instantiated by a FigureManagerWx. The parent
  window probably implements a wxSizer to control the displayed
  control size - but we give a hint as to our preferred minimum
  size.
docstr: Transfer the region of the agg buffer defined by bbox to the display.
  If bbox is None, the entire buffer is transferred.
docstr_tok: ["Transfer","the","region","of","the","agg","buffer","defined","by","bbox","to","the","display",".","If","bbox","is","None",",","the","entire","buffer","is","transferred","."]
code: def blit(self, bbox=None):
      """
      Transfer the region of the agg buffer defined by bbox to the display.
      If bbox is None, the entire buffer is transferred.
      """
      if bbox is None:
          self.bitmap = _convert_agg_to_wx_bitmap(
              self.get_renderer(), None
          )
          self.gui_repaint()
          return
  
      l, b, w, h = bbox.bounds
      r = l + w
      t = b + h
      x = int(l)
      y = int(self.bitmap.GetHeight() - t)
  
      srcBmp = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
      srcDC = wx.MemoryDC()
      srcDC.SelectObject(srcBmp)
  
      destDC = wx.MemoryDC()
      destDC.SelectObject(self.bitmap)
  
      destDC.Blit(x, y, int(w), int(h), srcDC, x, y)
  
      destDC.SelectObject(wx.NullBitmap)
      srcDC.SelectObject(wx.NullBitmap)
      self.gui_repaint()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import wx
  import matplotlib
  from matplotlib import cbook
  from .None import wx_compat
  from .backend_agg import FigureCanvasAgg
  from .backend_wx import _BackendWx, _FigureCanvasWxBase, FigureFrameWx, NavigationToolbar2Wx
label_desc: Use image node_id 2 for calling the FigureCanvasWxAgg obj's underlying member method code with example usage: obj.blit(bbox) without return types