          self._calcs = data
          self._ylabel = ylabel
          self._colourmaps = ["Reds", "Blues", "Greens", "Purples", "Oranges", "Greys", "copper",
                              "summer", "bone", "hot", "cool", "pink", "Wistia", "spring", "winter"]
          self._lines: List["Line2D"] = []
          self._toolbar: Optional["NavigationToolbar"] = None
          self._fig = Figure(figsize=(4, 4), dpi=75)
  
          self._ax1 = self._fig.add_subplot(1, 1, 1)
          self._plotcanvas = FigureCanvasTkAgg(self._fig, self)
  
 
</s> remove         self._filenames: List[str] = []
        self._images: Optional[np.ndarray] = None
        self._placeholder: Optional[np.ndarray] = None
 </s> add         self._filenames: list[str] = []
        self._images: np.ndarray | None = None
        self._placeholder: np.ndarray | None = None </s> remove         self._lines: List[str] = []
 </s> add         self._lines: list[str] = [] </s> remove                  name: Optional[str] = None,
                 args: Optional[Tuple] = None,
                 kwargs: Optional[Dict[str, Any]] = None) -> None:
 </s> add                  name: str | None = None,
                 args: tuple | None = None,
                 kwargs: dict[str, T.Any] | None = None) -> None: </s> remove         self._preview_image: Optional[Image.Image] = None
        self._preview_image_tk: Optional[ImageTk.PhotoImage] = None
 </s> add         self._preview_image: Image.Image | None = None
        self._preview_image_tk: ImageTk.PhotoImage | None = None </s> remove             self._parse_lines()
 </s> add             for line in self._lines:
                self._seen_line_log(line.rstrip())
                self._non_gui_print(line.encode("utf-8", errors="replace"))
            self._lines = []
        self._lines: list[Line2D] = []
        self._toolbar: "NavigationToolbar" | None = None
          self._calcs = data
          self._ylabel = ylabel
          self._colourmaps = ["Reds", "Blues", "Greens", "Purples", "Oranges", "Greys", "copper",
                              "summer", "bone", "hot", "cool", "pink", "Wistia", "spring", "winter"]
        self._lines: list[Line2D] = []
        self._toolbar: "NavigationToolbar" | None = None
        self._lines: list[Line2D] = []
        self._toolbar: "NavigationToolbar" | None = None
          self._fig = Figure(figsize=(4, 4), dpi=75)
  
          self._ax1 = self._fig.add_subplot(1, 1, 1)
          self._plotcanvas = FigureCanvasTkAgg(self._fig, self)
  
keep keep keep keep 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/display_graph.py