code: def set_image(self, img):
          '''set the image to be displayed'''
          self._bmp = wx.BitmapFromImage(img)
          self.SetMinSize((self._bmp.GetWidth(), self._bmp.GetHeight())f set_image(self, img):
          '''set the image to be displayed'''
          self._bmp = wx.BitmapFromImage(img)
          self.SetMinSize((self._bmp.GetWidth(), self._bmp.GetHeight()))
docs: set the image to be displayed