mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
train-preedict: close matplotlib after we've finished
they act like file handles
This commit is contained in:
parent
81e53efd9c
commit
0cb2de5d06
1 changed files with 2 additions and 1 deletions
|
@ -42,4 +42,5 @@ def vis_embeddings(filepath_output, features):
|
|||
axes["B"].set_title(f"Parallel coordinates plot", fontsize=20)
|
||||
|
||||
plt.suptitle(f"RainfallContrastive embeddings | rainfall | E2 ConvNeXt | {len(features)} items", fontsize=28, weight="bold")
|
||||
plt.savefig(filepath_output)
|
||||
plt.savefig(filepath_output)
|
||||
plt.close()
|
Loading…
Reference in a new issue