Update app.py
Browse files
app.py
CHANGED
|
@@ -49,8 +49,9 @@ def pyecharts1():
|
|
| 49 |
bar.add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"])
|
| 50 |
bar.add_yaxis("商家A", [5, 20, 36, 10, 75, 90])
|
| 51 |
bar.render('test.html')
|
| 52 |
-
|
| 53 |
-
|
|
|
|
| 54 |
def cff():
|
| 55 |
|
| 56 |
df=pd.DataFrame([[0.2,0.4,0.6],[0.4,0.3,0.4],[0.4,0.5,0.2],[0.5,0.4,0.4]],columns=['a','b','c'])
|
|
|
|
| 49 |
bar.add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"])
|
| 50 |
bar.add_yaxis("商家A", [5, 20, 36, 10, 75, 90])
|
| 51 |
bar.render('test.html')
|
| 52 |
+
with open('test.html',"r",encoding="utf-8") as aa:
|
| 53 |
+
bb=aa.read()
|
| 54 |
+
return 'test.html',bb
|
| 55 |
def cff():
|
| 56 |
|
| 57 |
df=pd.DataFrame([[0.2,0.4,0.6],[0.4,0.3,0.4],[0.4,0.5,0.2],[0.5,0.4,0.4]],columns=['a','b','c'])
|