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

benchmark visualizer: better position for the legend

parent ac20161b
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ markers = itertools.cycle([(3, 0), (3, 0, 180), (4, 0), (4, 0, 45), (8, 0)])
for timing in timings:
plt.plot(list(map(lambda r: r.times.get(timing), results)), marker=next(markers), markersize=8)
plt.legend(timings)
plt.legend(timings, loc='lower 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