Spaces:
Runtime error
Runtime error
zwq2018
commited on
Commit
•
9e66ab7
1
Parent(s):
e3ed4cd
new file: fonts/SimHei.ttf
Browse filesmodified: tool.py
modified: README.md
- fonts/SimHei.ttf +3 -0
- tool.py +1 -1
fonts/SimHei.ttf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ee6f6723c29dbf427d12d58ffc11d58e9aa89adda0ab6b06468ee765b1eadf8
|
3 |
+
size 10044356
|
tool.py
CHANGED
@@ -22,7 +22,7 @@ from sklearn.linear_model import LinearRegression
|
|
22 |
# plt.rcParams['axes.unicode_minus'] = False
|
23 |
|
24 |
|
25 |
-
|
26 |
font_prop = fm.FontProperties()
|
27 |
|
28 |
|
|
|
22 |
# plt.rcParams['axes.unicode_minus'] = False
|
23 |
|
24 |
|
25 |
+
font_path = './fonts/SimHei.ttf'
|
26 |
font_prop = fm.FontProperties()
|
27 |
|
28 |
|