From b7ddd74631af862d9510c96fda9badf4cf0ba1aa Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 26 Sep 2024 11:19:02 -0700 Subject: [PATCH] fix: Remove stripes and dots from color patches in legends --- aider/website/_posts/2024-09-26-senior-junior.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/aider/website/_posts/2024-09-26-senior-junior.md b/aider/website/_posts/2024-09-26-senior-junior.md index 0e93b10e2..b34ed8456 100644 --- a/aider/website/_posts/2024-09-26-senior-junior.md +++ b/aider/website/_posts/2024-09-26-senior-junior.md @@ -171,15 +171,9 @@ o1-preview as Senior and Deepseek as Junior, raising the SOTA from 79.7% up to 8 "o1-mini": "rgba(255, 99, 132, 0.2)" }; return Object.keys(colorMapping).map(function(key) { - var fillStyle = colorMapping[key]; - if (chart.data.labels.some(label => label.includes('deepseek whole'))) { - fillStyle = createStripedPattern(fillStyle); - } else if (chart.data.labels.some(label => label.includes('deepseek diff'))) { - fillStyle = createPolkaDotPattern(fillStyle); - } return { text: key, - fillStyle: fillStyle, + fillStyle: colorMapping[key], strokeStyle: colorMapping[key].replace('0.2', '1'), lineWidth: 1 };