              get_config().set_cursor_default()
              return
          logger.debug("state_file: '%s'", fullpath)
          model_dir, state_file = os.path.split(fullpath)
          logger.debug("model_dir: '%s'", model_dir)
          model_name = self.get_model_name(model_dir, state_file)
 
</s> remove         self.clear_session()
 </s> add  </s> remove         else:
            for check in ("avg", "trend"):
                if any(item[0].startswith(check) for item in sorted_lines):
                    groupsize = len([item for item in sorted_lines if item[0].startswith(check)])
                    break
 </s> add         elif sorted_lines:
            keys = [key[0][:key[0].find("_")] for key in sorted_lines]
            distinct_keys = set(keys)
            groupsize = len(keys) // len(distinct_keys) </s> remove         self.args = {"avg_samples": int(avg_samples),
 </s> add         self.args = {"avg_samples": avg_samples,
                     "smooth_amount": smooth_amount,
        self.clear_session()
              get_config().set_cursor_default()
              return
        self.clear_session()
          logger.debug("state_file: '%s'", fullpath)
          model_dir, state_file = os.path.split(fullpath)
          logger.debug("model_dir: '%s'", model_dir)
          model_name = self.get_model_name(model_dir, state_file)
keep add keep keep keep keep
 Graphing Updates

Add smoothing to Analysis and Training Graph
Replace Trend with Smoothing on Training Graph
Add Smoothing Parameter to Training Graph 
lib/gui/display_analysis.py