Spaces:
Sleeping
Sleeping
Update visualization.py
Browse files- 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)
|