          update = max(min(amount, 0.999), 0.001)
          logger.debug("Setting smooth amount to: %s (provided value: %s)", update, amount)
          self._args["smooth_amount"] = update
  
      def update_selections(self, selection, option):
          """ Update the type of selected data.
  
          Parameters
          ----------
          selection: str
 
</s> remove     def _get_raw(self):
 </s> add     def _get_raw(self) -> None: </s> remove     def start_iteration(self):
 </s> add     def start_iteration(self) -> int: </s> remove                  display="loss",
                 loss_keys="loss",
                 selections="raw",
                 avg_samples=500,
                 smooth_amount=0.90,
                 flatten_outliers=False):
 </s> add                  display: str = "loss",
                 loss_keys: str = "loss",
                 selections: str = "raw",
                 avg_samples: int = 500,
                 smooth_amount: float = 0.90,
                 flatten_outliers: bool = False) -> None: </s> remove     def stats(self):
 </s> add     def stats(self) -> dict: </s> remove     def __init__(self, session_id, data_points):
 </s> add     def __init__(self, session_id: int, data_points: int) -> None:
    def update_selections(self, selection: str, option: bool) -> None:
          update = max(min(amount, 0.999), 0.001)
          logger.debug("Setting smooth amount to: %s (provided value: %s)", update, amount)
          self._args["smooth_amount"] = update
  
    def update_selections(self, selection: str, option: bool) -> None:
          """ Update the type of selected data.
  
          Parameters
          ----------
          selection: str
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