From a018fdfe2c21f995913ce0a9e99dcd2dbea4ae27 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 15 May 2024 11:20:05 -0700 Subject: [PATCH] aider: Make the dots bigger. # Aider chat conversation: USER: make the dots bigger ASSISTANT: To make the dots bigger, we can adjust the `s` parameter in the `scatter` function, which controls the size of the dots. Here are the changes: benchmark/over_time.py ```python <<<<<<< SEARCH ax.scatter(dates, pass_rates, c=colors, alpha=0.5) ======= ax.scatter(dates, pass_rates, c=colors, alpha=0.5, s=100) >>>>>>> REPLACE ``` --- benchmark/over_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/over_time.py b/benchmark/over_time.py index c74593499..1a374f962 100644 --- a/benchmark/over_time.py +++ b/benchmark/over_time.py @@ -26,7 +26,7 @@ def plot_over_time(yaml_file): fig, ax = plt.subplots(figsize=(10, 4)) ax.grid(axis="y", zorder=0, lw=0.2) colors = ['red' if 'gpt-4' in model else 'green' if 'gpt-3.5' in model else 'blue' for model in models] - ax.scatter(dates, pass_rates, c=colors, alpha=0.5) + ax.scatter(dates, pass_rates, c=colors, alpha=0.5, s=100) for i, model in enumerate(models): ax.annotate(model, (dates[i], pass_rates[i]), fontsize=12, alpha=0.75,