diff --git a/DAS/simulator.py b/DAS/simulator.py index c2f4654..04d1eca 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -251,6 +251,7 @@ class Simulator: os.makedirs("results/"+self.execID) filePath = "results/"+self.execID+"/"+str(self.shape)+".png" matplotlib.pyplot.savefig(filePath) + matplotlib.pyplot.close() self.result.populate(self.shape, missingVector) return self.result