Skip to content
Snippets Groups Projects
Commit 013daeaf authored by Ralf Jung's avatar Ralf Jung
Browse files

better position for the legend

parent 82c06c8e
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ results = list(results)
timings = list(map(lambda t: t[:-2] if t.endswith(".v") else t, args.timings))
for timing in timings:
plt.plot(list(map(lambda r: r.times.get(timing), results)), marker=next(markers), markersize=8)
plt.legend(timings, loc='lower left')
plt.legend(timings, loc='upper left')
plt.xticks(range(len(results)), list(map(lambda r: r.commit[:7], results)), rotation=70)
plt.subplots_adjust(bottom=0.2) # more space for the commit labels
......
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