#NEWLINE# def add_image( self , img , anchor = None ) : #NEWLINE# #INDENT# '\n        Add an image to the sheet.\n        Optionally provide a cell for the top-left anchor\n        ' #NEWLINE# if ( anchor is not None ) : #NEWLINE# #INDENT# cell = self [ anchor ] #NEWLINE# img . anchor ( cell , anchortype = 'oneCell' ) #NEWLINE# #UNINDENT# self . _images . append ( img ) #NEWLINE# self . _parent . _images . append ( ref ( img ) )