Skip to content
Snippets Groups Projects
Commit a16ce992 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Close plt figure before plotting the next

parent 90ff7454
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ def genScatterPlot(accuracy_losses, speedups, file_path):
plt.xlabel("accuracy_loss")
plt.ylabel("speedup")
plt.savefig(file_path)
plt.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment