jinfengxie commited on
Commit
9e3d231
·
verified ·
1 Parent(s): 38e41ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,9 +18,9 @@ import io
18
  import pandas as pd
19
 
20
  # Set the font to support Chinese characters
21
- font_path = 'simhei.ttf'
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],
 
18
  import pandas as pd
19
 
20
  # Set the font to support Chinese characters
21
+ #font_path = 'simhei.ttf'
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],