code: def delete(self, id):
          
          if id in self._images.keys():
              del self._images[id]
          self.tk.delete(id)
docs: Deletes an "object" (line, triangle, image, etc) from the drawing.
  
          :param int id:
              The id of the object.