ChaseHan commited on
Commit
fc906c8
·
verified ·
1 Parent(s): d7a7e7e

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +1 -1
visualization.py CHANGED
@@ -16,7 +16,7 @@ matplotlib.use('Agg')
16
  # Set up Chinese font support
17
  # Try to find suitable Chinese fonts
18
  font_found = False
19
- chinese_fonts = ['SimHei', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'AR PL UMing CN', 'STSong', 'NSimSun', 'FangSong', 'KaiTi']
20
  for font in chinese_fonts:
21
  try:
22
  matplotlib.font_manager.findfont(font)
 
16
  # Set up Chinese font support
17
  # Try to find suitable Chinese fonts
18
  font_found = False
19
+ chinese_fonts = ['DejaVu Sans', 'SimHei', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'AR PL UMing CN', 'STSong', 'NSimSun', 'FangSong', 'KaiTi']
20
  for font in chinese_fonts:
21
  try:
22
  matplotlib.font_manager.findfont(font)