Revert "Revert "Switch running time graphs to log scales""

This reverts commit 4ea4d25176.
This commit is contained in:
akp 2022-12-12 02:03:26 +00:00
parent 026d502ad5
commit 116673eec9
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])