From b7341c746fc580b264f5c5e691a46e7a3fdce70b Mon Sep 17 00:00:00 2001 From: yukun-hh Date: Sun, 17 May 2026 19:34:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=87=86=E7=A1=AE=E7=8E=87?= =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=20y=20=E8=BD=B4=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=EF=BC=8C=E6=94=BE=E5=A4=A7=E6=A8=A1=E5=9E=8B=E9=97=B4=E5=B7=AE?= =?UTF-8?q?=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baseline/compare_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseline/compare_models.py b/baseline/compare_models.py index 89d98f8..5917fe0 100644 --- a/baseline/compare_models.py +++ b/baseline/compare_models.py @@ -239,7 +239,7 @@ if __name__ == '__main__': for bar, acc in zip(bars, accs): ax.text(bar.get_x() + bar.get_width() / 2, bar.get_height() + 0.005, f'{acc:.4f}', ha='center', va='bottom', fontsize=12, fontweight='bold') - ax.set_ylim(0, max(accs) * 1.15) + ax.set_ylim(min(accs) - 0.03, max(accs) * 1.08) ax.set_ylabel('Accuracy'); ax.set_title('Accuracy Comparison', fontsize=14) ax.grid(True, alpha=0.3, axis='y') plt.tight_layout()