Shrink benchmark graph size and remove upper y-axis limit
Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
parent
0f81ecaab5
commit
d9bf8b7b09
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ for lang in benchmark_data:
|
|||
day = int(key.split(".", 1)[0])
|
||||
all_days.add(day)
|
||||
|
||||
figure = plt.figure(figsize=(len(all_days), 5))
|
||||
figure = plt.figure(figsize=(len(all_days)/2, 5))
|
||||
axp1 = figure.add_subplot(1, 2, 1)
|
||||
axp2 = figure.add_subplot(1, 2, 2, sharey=axp1)
|
||||
|
||||
|
@ -88,7 +88,7 @@ def do_auxillary_parts(axis):
|
|||
plt.ylabel("Running time (seconds)")
|
||||
plt.xlabel("Day")
|
||||
plt.legend(handles=[patches.Patch(color=COLOURS[label], label=label) for label in COLOURS])
|
||||
plt.ylim([0, MAX_Y_VALUE])
|
||||
# plt.ylim([0, MAX_Y_VALUE])
|
||||
# plt.legend(legends)
|
||||
|
||||
do_auxillary_parts(axp1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue