Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,9 @@ import warnings
|
|
5 |
|
6 |
warnings.filterwarnings(action='ignore', category=UserWarning)
|
7 |
|
8 |
-
|
|
|
|
|
9 |
plt.rcParams['axes.unicode_minus'] = False # 设置正常显示字符
|
10 |
|
11 |
def process_file(file):
|
|
|
5 |
|
6 |
warnings.filterwarnings(action='ignore', category=UserWarning)
|
7 |
|
8 |
+
|
9 |
+
plt.rcParams['font.family'] = 'ans-serif'
|
10 |
+
plt.rcParams['font.sans-serif'] = ['SimHei'] # 例如设置为中文字体“黑体”
|
11 |
plt.rcParams['axes.unicode_minus'] = False # 设置正常显示字符
|
12 |
|
13 |
def process_file(file):
|