jinfengxie commited on
Commit
03ee14a
·
verified ·
1 Parent(s): 33fcf2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- #matplotlib.rcParams['font.family'] = 'Noto Sans CJK SC'
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],