Skip to content

Commit

Permalink
Minor change in plot filename
Browse files Browse the repository at this point in the history
  • Loading branch information
johnantonn committed Mar 18, 2022
1 parent 777380c commit 08ecc40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,5 @@ def plot_performance(out_dirname, total_budget):
labels, handles = zip(
*sorted(zip(labels, handles), key=lambda t: t[0]))
ax.legend(handles, labels)
plt.savefig(os.path.join(path, 'all.png'))
fig_title = 'all_' + str(total_budget) + '.png'
plt.savefig(os.path.join(path, fig_title))

0 comments on commit 08ecc40

Please sign in to comment.