Update app.py
Browse files
app.py
CHANGED
|
@@ -43,12 +43,8 @@ def cff():
|
|
| 43 |
cfft=df.iplot(kind='bubble',x='a',y='b',size='c')
|
| 44 |
return cfft
|
| 45 |
def seab():
|
| 46 |
-
|
| 47 |
-
sns.
|
| 48 |
-
g=sns.lmplot(x="tip",y="total_bill",data=tips,aspect=2)
|
| 49 |
-
g=(g.set_axis_labels("Tip","Total bill(USD)") \
|
| 50 |
-
.set(xlim=(0,10),ylim=(0,100)))
|
| 51 |
-
plt.title("吹牛逼")
|
| 52 |
return g
|
| 53 |
#def pyg2plot_chart():
|
| 54 |
# bar = Plot("Column")
|
|
|
|
| 43 |
cfft=df.iplot(kind='bubble',x='a',y='b',size='c')
|
| 44 |
return cfft
|
| 45 |
def seab():
|
| 46 |
+
df = pd.DataFrame({'a': range(10), 'b': [1,3,1,4,5,2,0,5,8,5]})
|
| 47 |
+
g=sns.relplot(x="a", y="b", kind="line", data=df)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
return g
|
| 49 |
#def pyg2plot_chart():
|
| 50 |
# bar = Plot("Column")
|