Added closing plots after saving to file
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
This commit is contained in:
parent
5ea3ea9487
commit
414b809a3f
|
@ -128,6 +128,7 @@ def generate_fet_plots(
|
||||||
fg.tight_layout()
|
fg.tight_layout()
|
||||||
fg.savefig(Path(outdir) / (outprefix + f'_{name}.{ext}'))
|
fg.savefig(Path(outdir) / (outprefix + f'_{name}.{ext}'))
|
||||||
f.close()
|
f.close()
|
||||||
|
plt.close('all')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue