Skip to content

Commit

Permalink
Add error title.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Hu committed Apr 7, 2020
1 parent 70549cb commit d3ade57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion random_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
plt.ylim((0, 1.0))
plt.xlim((0, 1.0))

plt.title("iteration %s" % iteration)
plt.title("iteration %s, Error: %.4f" % (iteration, best_distant))
plt.pause(0.5)
plt.draw()
plt.clf()
Expand Down

0 comments on commit d3ade57

Please sign in to comment.