f64 commited on
Commit ·
d51ca41
1
Parent(s): 68e81c3
- pages/6_Plotly.py +2 -2
pages/6_Plotly.py
CHANGED
|
@@ -15,8 +15,8 @@ x4 = np.random.randn(n)
|
|
| 15 |
|
| 16 |
|
| 17 |
figure = {
|
| 18 |
-
"data": [go.
|
| 19 |
-
"layout": go.Layout(height=700, margin=dict(l=0, r=0, b=0, t=
|
| 20 |
}
|
| 21 |
|
| 22 |
st.plotly_chart(figure)
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
figure = {
|
| 18 |
+
"data": [go.Scatter3d(z=x1, y=x2, x=x3, color=x4)],
|
| 19 |
+
"layout": go.Layout(height=700, margin=dict(l=0, r=0, b=0, t=0), uirevision='foo')
|
| 20 |
}
|
| 21 |
|
| 22 |
st.plotly_chart(figure)
|