          self._iterations = 0
          self._get_raw()
          self._get_calculations()
          self._remove_raw()
          logger.debug("Refreshed")
          return self
  
      def set_smooth_amount(self, amount):
          """ Set the amount of smoothing to apply to smoothed graph.
  
 
</s> remove     def set_smooth_amount(self, amount):
 </s> add     def set_smooth_amount(self, amount: float) -> None: </s> remove     def set_iterations_limit(self, limit):
 </s> add     def set_iterations_limit(self, limit: int) -> None: </s> remove     def start_iteration(self):
 </s> add     def start_iteration(self) -> int: </s> remove     def _ewma_vectorized_safe(self):
 </s> add     def _ewma_vectorized_safe(self) -> None: </s> remove     def __init__(self, data, amount):
 </s> add     def __init__(self, data: np.ndarray, amount: float) -> None:
        logger.debug("Refreshed: %s", {k: f"Total: {len(v)}, Min: {np.nanmin(v)}, "
                                          f"Max: {np.nanmax(v)}, "
                                          f"nans: {np.count_nonzero(np.isnan(v))}"
                                       for k, v in self.stats.items()})
          self._iterations = 0
          self._get_raw()
          self._get_calculations()
          self._remove_raw()
        logger.debug("Refreshed: %s", {k: f"Total: {len(v)}, Min: {np.nanmin(v)}, "
                                          f"Max: {np.nanmax(v)}, "
                                          f"nans: {np.count_nonzero(np.isnan(v))}"
                                       for k, v in self.stats.items()})
          return self
  
      def set_smooth_amount(self, amount):
          """ Set the amount of smoothing to apply to smoothed graph.
  
keep keep keep keep replace keep keep keep keep keep
 Bugfixes:
  - Stats graph - Handle NaNs in data
  - logger - de-elevate matplotlib font messages 
lib/gui/analysis/stats.py