      """ Holds information about a loaded or current training session by accessing a model's state
      file and Tensorboard logs. This class should not be accessed directly, rather through
      :attr:`lib.gui.analysis.Session`
      """
      def __init__(self):
          logger.debug("Initializing %s", self.__class__.__name__)
          self._state = None
          self._model_dir = None
          self._model_name = None
  
 
</s> remove     def clear(self):
 </s> add     def clear(self) -> None: </s> remove     def __init__(self, session):
 </s> add     def __init__(self, session: GlobalSession) -> None: </s> remove     def is_loaded(self):
 </s> add     def is_loaded(self) -> bool: </s> remove     def get_summary_stats(self):
 </s> add     def get_summary_stats(self) -> List[dict]: </s> remove     def is_training(self):
 </s> add     def is_training(self) -> bool:
    def __init__(self) -> None:
      """ Holds information about a loaded or current training session by accessing a model's state
      file and Tensorboard logs. This class should not be accessed directly, rather through
      :attr:`lib.gui.analysis.Session`
      """
    def __init__(self) -> None:
          logger.debug("Initializing %s", self.__class__.__name__)
          self._state = None
          self._model_dir = None
          self._model_name = None
  
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