changxin commited on
Commit
551bc6e
·
1 Parent(s): 61dfdb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ def pyecharts1():
38
  bar.render('test.html')
39
  return 'test.html'
40
  def cff():
41
- cfft=cf.datagen.lines(4,10).iplot(mode='lines+markers',theme='solar')
 
42
  return cfft
43
  #def pyg2plot_chart():
44
  # bar = Plot("Column")
 
38
  bar.render('test.html')
39
  return 'test.html'
40
  def cff():
41
+ 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'])
42
+ cfft=df.iplot(kind='bubble',x='a',y='b',size='c')
43
  return cfft
44
  #def pyg2plot_chart():
45
  # bar = Plot("Column")