parameters: (self, imagefilename)
return_statement: return
docstring: Add an image to canvas from an image file
docstring_summary: Add an image to canvas from an image file
docstring_tokens: Add an image to canvas from an image file
function: def add_image(self, imagefilename):
          """ Add an image to canvas from an image file
          """
          # check
          if os.path.exists(imagefilename) is False:
              raise NotImplementedError("Image file %s does not exist." % (imagefilename))
  
          self._myCanvas.addImage(imagefilename)
  
          return
function_tokens: def add_image ( self , imagefilename ) : # check if os . path . exists ( imagefilename ) is False : raise NotImplementedError ( "Image file %s does not exist." % ( imagefilename ) ) self . _myCanvas . addImage ( imagefilename ) return