  import tkinter as tk
  from tkinter import ttk
  
  from .control_helper import ControlBuilder, ControlPanelOption
  from .custom_widgets import Tooltip
  from .display_graph import SessionGraph
  from .analysis import Calculations, Session
  from .utils import FileHandler, get_images, LongRunningTask
 
</s> remove                    "probably a bug which should be fixed:\n{}".format(traceback.format_exc()))
 </s> add                    f"probably a bug which should be fixed:\n{traceback.format_exc()}") </s> remove     def _flatten_outliers(cls, data):
 </s> add     def _flatten_outliers(cls, data: np.ndarray) -> np.ndarray: </s> remove     def _remove_raw(self):
 </s> add     def _remove_raw(self) -> None: </s> remove     def _calc_rate(self):
 </s> add     def _calc_rate(self) -> np.ndarray:
from typing import List
  import tkinter as tk
  from tkinter import ttk
from typing import List
  
  from .control_helper import ControlBuilder, ControlPanelOption
  from .custom_widgets import Tooltip
  from .display_graph import SessionGraph
  from .analysis import Calculations, Session
  from .utils import FileHandler, get_images, LongRunningTask
keep add keep keep keep keep keep keep
 Bugfixes:
  - Stats graph - Handle NaNs in data
  - logger - de-elevate matplotlib font messages 
lib/gui/popup_session.py