Switch running time graphs to log scales

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2022-12-09 16:32:26 +00:00
parent 34d3346d20
commit d336034cbd
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -95,7 +95,8 @@ axp2.set_title("Part two")
def do_auxillary_parts(axis):
plt.sca(axis)
plt.xticks(list(all_days), [str(y) for y in all_days])
plt.ylabel("Running time (seconds)")
plt.ylabel("Running time (log seconds)")
plt.yscale("log")
plt.xlabel("Day")
plt.legend(handles=[patches.Patch(color=COLOURS[label], label=label) for label in COLOURS])
# plt.ylim([0, MAX_Y_VALUE])