code: def set_matrix_dimensions(self, *args):
          
          self._image = None
          super(FileImage, self).set_matrix_dimensions(*args)
docs: Subclassed to delete the cached image when matrix dimensions
          are changed.