From 714fd45f4d3efe1206ea9aa6002f5a08aa97b05b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 14 Aug 2024 06:27:47 -0700 Subject: [PATCH] fix: Update color logic and font size in over_time.py --- benchmark/over_time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/over_time.py b/benchmark/over_time.py index fc0e13f9c..2c2116628 100644 --- a/benchmark/over_time.py +++ b/benchmark/over_time.py @@ -52,7 +52,7 @@ def plot_over_time(yaml_file): colors = [ ( "orange" - if "-4o-" in model and "gpt-4o-mini" not in model + if "-4o" in model and "gpt-4o-mini" not in model else "red" if "gpt-4" in model else "green" if "gpt-3.5" in model else "blue" ) for model in models @@ -63,7 +63,7 @@ def plot_over_time(yaml_file): ax.annotate( model, (dates[i], pass_rates[i]), - fontsize=12, + fontsize=8, alpha=0.75, xytext=(5, 5), textcoords="offset points",