From 805b571a9f5452d5a87ff1193b976e49e6c8863d Mon Sep 17 00:00:00 2001 From: AYadrov Date: Tue, 29 Oct 2024 15:05:18 -0600 Subject: [PATCH] graph lookmaxxing --- infra/cnt_per_iters_plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/cnt_per_iters_plot.py b/infra/cnt_per_iters_plot.py index 7e1951c..62031cd 100644 --- a/infra/cnt_per_iters_plot.py +++ b/infra/cnt_per_iters_plot.py @@ -22,8 +22,8 @@ def plot_cnt_per_iters(outcomes, args): rival = rival.drop(['baseline_precision'], axis=1) rival = rival.groupby(['rival_iter'], as_index=False).sum() - ax.bar(np.arange(len(baseline)) + 0.9, baseline['number_of_points'], color="green", alpha=1, width=0.4, label='baseline', hatch='/') - ax.bar(np.arange(len(rival)) + 1.1, rival['number_of_points'], color="red", alpha=0.7, width=0.4, label='reval') + ax.bar(np.arange(len(baseline)) + 0.925, baseline['number_of_points'], color="green", alpha=1, width=0.3, label='baseline', hatch='/') + ax.bar(np.arange(len(rival)) + 1.075, rival['number_of_points'], color="red", alpha=0.7, width=0.3, label='reval') ax.legend() ax.set_xlabel("Iteration")