                  self._graph.pack_forget()
              self._lbl_loading.pack(fill=tk.BOTH, expand=True)
              self.update_idletasks()
  
              kwargs = dict(session_id=self._session_id,
                            display=self._vars.display.get(),
                            loss_keys=loss_keys,
                            selections=selections,
                            avg_samples=self._vars.avgiterations.get(),
                            smooth_amount=self._vars.smoothamount.get(),
                            flatten_outliers=self._vars.outliers.get())
              self._thread = LongRunningTask(target=self._get_display_data,
                                             kwargs=kwargs,
                                             widget=self)
              self._thread.start()
              self.after(1000, self._compile_display_data)
 
</s> remove         refresh_var = cast(tk.BooleanVar, get_config().tk_vars.refresh_graph)
 </s> add         refresh_var = T.cast(tk.BooleanVar, get_config().tk_vars.refresh_graph) </s> remove         self.err: "_ErrorType" = None
 </s> add         self.err: _ErrorType = None </s> remove         canvas_kwargs = dict(bd=0, highlightthickness=0, bg=self._theme["panel_background"])
 </s> add         canvas_kwargs = {"bd": 0, "highlightthickness": 0, "bg": self._theme["panel_background"]} </s> remove         self._image: Optional[ImageTk.PhotoImage] = None
 </s> add         self._image: ImageTk.PhotoImage | None = None </s> remove         kwargs = dict(title=f"{action.title()} Preset...",
                      initial_folder=self._preset_path,
                      parent=self._parent)
 </s> add         kwargs = {"title": f"{action.title()} Preset...",
                  "initial_folder": self._preset_path,
                  "parent": self._parent}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
                  self._graph.pack_forget()
              self._lbl_loading.pack(fill=tk.BOTH, expand=True)
              self.update_idletasks()
  
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
            kwargs = {"session_id": self._session_id,
                      "display": self._vars.display.get(),
                      "loss_keys": loss_keys,
                      "selections": selections,
                      "avg_samples": self._vars.avgiterations.get(),
                      "smooth_amount": self._vars.smoothamount.get(),
                      "flatten_outliers": self._vars.outliers.get()}
              self._thread = LongRunningTask(target=self._get_display_data,
                                             kwargs=kwargs,
                                             widget=self)
              self._thread.start()
              self.after(1000, self._compile_display_data)
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
lib/gui/popup_session.py