Skip to content

Commit 87cb0fd

Browse files
committed
Improved Memory Leakage
1 parent 7b22324 commit 87cb0fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DAB_Analysis_Functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ def chop_and_analyse_svs(
279279
plt.savefig(
280280
os.path.join(fig_folder, figname), format="svg", dpi=600
281281
)
282+
plt.close("all")
282283

283284
if os.path.isfile(savename_asyn):
284285
with open(savename_asyn, mode="a") as f:

0 commit comments

Comments
 (0)