      def close(self):
          """ Clear the plots from RAM """
          if self.subnotebook is None:
              logger.debug("No graphs to clear. Returning")
              return
          for name, graph in self.subnotebook.children.items():
              logger.debug("Clearing: %s", name)
              graph.clear()
 
</s> remove                                 selections=["raw", "trend"])
 </s> add                                 selections=["raw", "smoothed"],
                                smooth_amount=get_config().tk_vars["smoothgraph"].get()) </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 not None:
            get_config().tk_vars["smoothgraph"].trace_vdelete("w", self.trace_var)
            self.trace_var = None
      def close(self):
          """ Clear the plots from RAM """
        if self.trace_var is not None:
            get_config().tk_vars["smoothgraph"].trace_vdelete("w", self.trace_var)
            self.trace_var = None
          if self.subnotebook is None:
              logger.debug("No graphs to clear. Returning")
              return
          for name, graph in self.subnotebook.children.items():
              logger.debug("Clearing: %s", name)
              graph.clear()
keep add keep keep 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