Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,10 +18,10 @@ import io
|
|
18 |
import pandas as pd
|
19 |
|
20 |
# Set the font to support Chinese characters
|
21 |
-
font_path = 'msyhbd.ttc'
|
22 |
-
font_prop = fm.FontProperties(fname=font_path)
|
23 |
-
matplotlib.rcParams['font.family'] = font_prop.get_name()
|
24 |
-
|
25 |
|
26 |
id2color= {1: [209, 35, 69],
|
27 |
2: [216, 208, 246],
|
|
|
18 |
import pandas as pd
|
19 |
|
20 |
# Set the font to support Chinese characters
|
21 |
+
#font_path = 'msyhbd.ttc'
|
22 |
+
#font_prop = fm.FontProperties(fname=font_path)
|
23 |
+
#matplotlib.rcParams['font.family'] = font_prop.get_name()
|
24 |
+
matplotlib.rcParams['font.family'] = 'Droid Sans Fallback'
|
25 |
|
26 |
id2color= {1: [209, 35, 69],
|
27 |
2: [216, 208, 246],
|