From b785f11f84d959da62ea175858f9d35c3c21b407 Mon Sep 17 00:00:00 2001 From: wangchunlin Date: Sun, 30 Jun 2024 18:27:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=89=93=E5=8D=B0=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/common.py b/utils/common.py index 75e1dbb..e0f7621 100644 --- a/utils/common.py +++ b/utils/common.py @@ -20,8 +20,8 @@ font_path = os.path.join(os.path.dirname(__file__), '../fonts', 'simhei.ttf') font_prop = FontProperties(fname=font_path) # 设置 matplotlib 支持中文 -plt.rcParams['font.sans-serif'] = ['SimHei'] -plt.rcParams['axes.unicode_minus'] = False +# plt.rcParams['font.sans-serif'] = ['SimHei'] +# plt.rcParams['axes.unicode_minus'] = False def log_print(message): logging.info(message)