code: def auto_levels_cb(self, setting, value):
          
          # Did we change the method?
          method = self.t_['autocut_method']
          params = self.t_.get('autocut_params', [])
          params = dict(params)
  
          if method != str(self.autocuts):
              ac_class = AutoCuts.get_autocuts(method)
              self.autocuts = ac_class(self.logger, **params)
          else:
              self.autocuts.update_params(**params)
  
          # Redo the auto levels
          #if self.t_['autocuts'] != 'off':
          # NOTE: users seems to expect that when the auto cuts parameters
          # are changed that the cuts should be immediately recalculated
          self.auto_levels()
docs: Handle callback related to changes in auto-cut levels.