      def session_ids(self):
          """ list: The sorted list of all existing session ids in the state file """
          return self._tb_logs.session_ids
  
      def _load_state_file(self):
          """ Load the current state file to :attr:`_state`. """
          state_file = os.path.join(self._model_dir, f"{self._model_name}_state.json")
          logger.debug("Loading State: '%s'", state_file)
          serializer = get_serializer("json")
          self._state = serializer.load(state_file)
 
</s> remove     def session_ids(self):
 </s> add     def session_ids(self) -> List[int]: </s> remove     def initialize_session(self, model_folder, model_name, is_training=False):
 </s> add     def initialize_session(self,
                           model_folder: Optional[str],
                           model_name: Optional[str],
                           is_training: bool = False) -> None: </s> remove     def __init__(self):
 </s> add     def __init__(self) -> None: </s> remove     def logging_disabled(self):
 </s> add     def logging_disabled(self) -> bool: </s> remove     def clear(self):
 </s> add     def clear(self) -> None:
    def _load_state_file(self) -> None:
      def session_ids(self):
          """ list: The sorted list of all existing session ids in the state file """
          return self._tb_logs.session_ids
  
    def _load_state_file(self) -> None:
          """ Load the current state file to :attr:`_state`. """
          state_file = os.path.join(self._model_dir, f"{self._model_name}_state.json")
          logger.debug("Loading State: '%s'", state_file)
          serializer = get_serializer("json")
          self._state = serializer.load(state_file)
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