Update gain_viz/app.py
This commit is contained in:
parent
2bc42ab488
commit
1c58e709f5
|
|
@ -173,6 +173,7 @@ def generate_spectrum_plot():
|
||||||
|
|
||||||
|
|
||||||
# Save the plot
|
# Save the plot
|
||||||
|
os.makedirs(os.path.dirname(PLOT_PATH), exist_ok=True)
|
||||||
plt.savefig(PLOT_PATH, bbox_inches='tight')
|
plt.savefig(PLOT_PATH, bbox_inches='tight')
|
||||||
plt.close(fig)
|
plt.close(fig)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user