f64 commited on
Commit ·
fd0f6f0
1
Parent(s): 3fc5f97
- pages/6_Plotly.py +4 -2
pages/6_Plotly.py
CHANGED
|
@@ -15,8 +15,10 @@ x4 = np.random.randn(n)
|
|
| 15 |
|
| 16 |
|
| 17 |
figure = {
|
| 18 |
-
"data": [go.Scatter3d(z=x1, y=x2, x=x3)],
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
st.plotly_chart(figure)
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
figure = {
|
| 18 |
+
"data": [go.Scatter3d(z=x1, y=x2, x=x3, mode='markers',)],
|
| 19 |
+
# marker=dict(size=7, color=x4, colorscale='Viridis', opacity=0.5)
|
| 20 |
+
|
| 21 |
+
"layout": go.Layout(height=900, margin=dict(l=0, r=0, b=0, t=0), uirevision='foo')
|
| 22 |
}
|
| 23 |
|
| 24 |
st.plotly_chart(figure)
|