zwq2018 commited on
Commit
32a8781
·
1 Parent(s): ec84951
Files changed (1) hide show
  1. main.py +6 -2
main.py CHANGED
@@ -17,9 +17,13 @@ from io import BytesIO
17
  import queue
18
  import datetime
19
  from threading import Thread
20
- # plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']
21
- # plt.rcParams['axes.unicode_minus'] = False
22
  import openai
 
 
 
 
23
 
24
  font_path = './fonts/SimHei.ttf'
25
  font_prop = fm.FontProperties()
 
17
  import queue
18
  import datetime
19
  from threading import Thread
20
+ plt.rcParams['font.family'] = 'Times New Roman'
21
+ plt.rcParams['axes.unicode_minus'] = False
22
  import openai
23
+ # 设置plt的字体
24
+
25
+
26
+
27
 
28
  font_path = './fonts/SimHei.ttf'
29
  font_prop = fm.FontProperties()