mirror of
https://github.com/codex-storage/das-research.git
synced 2025-02-24 00:38:26 +00:00
fixup: close plot to release memory
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
8867f54a22
commit
7b58e59c90
@ -255,6 +255,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, self.config, missingVector)
|
||||
return self.result
|
||||
|
Loading…
x
Reference in New Issue
Block a user