              logger.trace("Loading graph")
              self.display_item = session
          else:
              self.display_item = None
              if self.trace_var is not None:
                  smooth_amount_var.trace_vdelete("w", self.trace_var)
 
</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)
            if self.trace_var is None:
                self.trace_var = smooth_amount_var.trace("w", self.smooth_amount_callback)
              logger.trace("Loading graph")
              self.display_item = session
            if self.trace_var is None:
                self.trace_var = smooth_amount_var.trace("w", self.smooth_amount_callback)
          else:
              self.display_item = None
              if self.trace_var is not None:
                  smooth_amount_var.trace_vdelete("w", self.trace_var)
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_command.py