Commit b3f0cda4 authored by Duggan, John's avatar Duggan, John
Browse files

Reset the figure on each render

parent 06cf21be
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[project]
name = "ips-fastran-gui"
version = "0.2.2"
version = "0.2.3"
description = "IPS Fastran GUI Project"
authors = []
readme = "README.md"
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ class PlotFastran:
        self.input_params = input_params

    def load_fastran(self, fn_ncfile: Path) -> None:
        self.figure.clear()

        self.fastran = netCDF4.Dataset(fn_ncfile, "r", format="NETCDF4")
        self.basename = os.path.basename(fn_ncfile)