Update gain_viz/app.py

This commit is contained in:
G gael 2025-09-23 16:06:33 -04:00
parent 2bc42ab488
commit 1c58e709f5

View File

@ -173,6 +173,7 @@ def generate_spectrum_plot():
# Save the plot
os.makedirs(os.path.dirname(PLOT_PATH), exist_ok=True)
plt.savefig(PLOT_PATH, bbox_inches='tight')
plt.close(fig)