From 1ddd065ef5b77a08a18577345faf718770f2eb2c Mon Sep 17 00:00:00 2001 From: Robin Meersman Date: Tue, 19 May 2026 10:28:26 +0200 Subject: [PATCH] cleanup(plotting): removed commented code --- scripts/plots/analyze_comparisons.py | 30 ---------------------------- 1 file changed, 30 deletions(-) diff --git a/scripts/plots/analyze_comparisons.py b/scripts/plots/analyze_comparisons.py index d001b03..8a66b4c 100644 --- a/scripts/plots/analyze_comparisons.py +++ b/scripts/plots/analyze_comparisons.py @@ -173,20 +173,6 @@ def plot_grouped_bar( plt.FuncFormatter(lambda x, _: f"{x:.2f}" if abs(x) < 10 else f"{x:.0f}") ) - # _add_square_placeholders(ax, x_ticks_pos, [f"{m} Arms" for m in morphologies]) - - # Add custom legend entry for best performer - # ax.plot( - # [], - # [], - # marker=BEST_PERFORMER_MARKER, - # color="w", - # markerfacecolor=BEST_PERFORMER_COLOR, - # markersize=15, - # label="Best Performance", - # ls="", - # ) - ax.legend(**LEGEND_KWARGS, ncol=len(architectures)) ax.set_facecolor("white") fig.patch.set_facecolor("white") @@ -307,22 +293,6 @@ def plot_grouped_bar_alt( plt.FuncFormatter(lambda x, _: f"{x:.2f}" if abs(x) < 10 else f"{x:.0f}") ) - # In this alt plot, placeholders might be per architecture - # _add_square_placeholders( - # ax, x_indices, [arch.replace("_", "\n").title() for arch in architectures] - # ) - - # ax.plot( - # [], - # [], - # marker=BEST_PERFORMER_MARKER, - # color="w", - # markerfacecolor=BEST_PERFORMER_COLOR, - # markersize=15, - # label="Best Performance", - # ls="", - # ) - ax.legend(**LEGEND_KWARGS, ncol=len(morphologies)) ax.set_facecolor("white") fig.patch.set_facecolor("white")