          return avgs
  
      @staticmethod
      def calc_trend(data):
          """ Compile trend data """
          logger.debug("Calculating Trend")
          points = len(data)
          if points < 10:
 
</s> remove             to raw
 </s> add             to smoothed </s> remove         self.clear_session()
 </s> add 
    def calc_smoothed(self, data):
        """ Smooth the data """
        last = data[0]  # First value in the plot (first timestep)
        weight = self.args["smooth_amount"]
        smoothed = list()
        for point in data:
            smoothed_val = last * weight + (1 - weight) * point  # Calculate smoothed value
            smoothed.append(smoothed_val)                        # Save it
            last = smoothed_val                                  # Anchor the last smoothed value

        return smoothed

          return avgs
  
    def calc_smoothed(self, data):
        """ Smooth the data """
        last = data[0]  # First value in the plot (first timestep)
        weight = self.args["smooth_amount"]
        smoothed = list()
        for point in data:
            smoothed_val = last * weight + (1 - weight) * point  # Calculate smoothed value
            smoothed.append(smoothed_val)                        # Save it
            last = smoothed_val                                  # Anchor the last smoothed value

        return smoothed

      @staticmethod
      def calc_trend(data):
          """ Compile trend data """
          logger.debug("Calculating Trend")
          points = len(data)
          if points < 10:
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/stats.py