Skip to content

Commit 17a96fb

Browse files
mattipclaude
andcommitted
tweak homepage graph
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ae6af79 commit 17a96fb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

speed_pypy/templates/home.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ <h3>How has PyPy performance evolved over time?</h3>
111111
labels: benchmarks,
112112
datasets: [
113113
{label: 'latest {{ default_exe }}', data: latestValues, backgroundColor: '#4e79a7'},
114-
{label: data['baseline'], data: baselineValues, backgroundColor: '#f28e2b'}
114+
{label: data['baseline'], data: baselineValues, type: 'line',
115+
borderColor: '#f28e2b', backgroundColor: 'transparent',
116+
pointRadius: 0, borderWidth: 2, fill: false}
115117
]
116118
},
117119
options: {
@@ -123,7 +125,7 @@ <h3>How has PyPy performance evolved over time?</h3>
123125
},
124126
scales: {
125127
x: {ticks: {maxRotation: 70, minRotation: 70, autoSkip: false, font: {size: 11}}},
126-
y: {min: 0, ticks: {callback: function(v) { return v.toFixed(2); }}}
128+
y: {min: 0, max: 2.0, ticks: {callback: function(v) { return v.toFixed(2); }}}
127129
}
128130
}
129131
});

0 commit comments

Comments
 (0)