Revert "Revert "Switch running time graphs to log scales""
This reverts commit 4ea4d25176
.
This commit is contained in:
parent
026d502ad5
commit
116673eec9
1 changed files with 2 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue