code: def redo(self):
          
          if self.use_slit:
              image = self.fitsimage.get_image()
              if image != self.cuts_image:
                  self.cuts_image = image
                  self.build_axes()
  
          self.replot_all()
docs: This is called when a new image arrives or the data in the
          existing image changes.