diff --git a/gain_viz/app.py b/gain_viz/app.py index 9ec276f..d2f3f3e 100644 --- a/gain_viz/app.py +++ b/gain_viz/app.py @@ -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)