code: def write_acceptance_criteria_to_boxes(self):
          
  
          self.ignore_parameters, value = {}, ''
          for crit_short_name in self.preferences['show_statistics_on_gui']:
              crit = "specimen_" + crit_short_name
              if self.acceptance_criteria[crit]['value'] == -999:
                  self.threshold_windows[crit_short_name].SetValue("")
                  self.threshold_windows[crit_short_name].SetBackgroundColour(
                      wx.Colour(128, 128, 128))
                  self.ignore_parameters[crit] = True
                  continue
              elif crit == "specimen_scat":
                  if self.acceptance_criteria[crit]['value'] in ['g', 1, '1', True, "True", "t"]:
                      value = "True"
                      value = "t"
                      #self.scat_threshold_window.SetBackgroundColour(wx.SetBackgroundColour(128, 128, 128))
                  else:
                      value = ""
                      value = "f"
                      self.threshold_windows['scat'].SetBackgroundColour(
                          (128, 128, 128))
                      #self.scat_threshold_window.SetBackgroundColour((128, 128, 128))
  
              elif type(self.acceptance_criteria[crit]['value']) == int:
                  value = "%i" % self.acceptance_criteria[crit]['value']
              elif type(self.acceptance_criteria[crit]['value']) == float:
                  if self.acceptance_criteria[crit]['decimal_points'] == -999:
                      value = "%.3e" % self.acceptance_criteria[crit]['value']
                  else:
                      value = "{:.{}f}".format(self.acceptance_criteria[crit]['value'],
                                               self.acceptance_criteria[crit]['decimal_points'])
              else:
                  continue
  
              self.threshold_windows[crit_short_name].SetValue(value)
              self.threshold_windows[crit_short_name].SetBackgroundColour(
                  wx.WHITE)
docs: Update paleointensity statistics in acceptance criteria boxes.
          (after changing temperature bounds or changing specimen)