Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -131,6 +131,8 @@ def plot_scatter_tab5(cat, x, y, z, col):
|
|
131 |
# fig = plt.figure()
|
132 |
|
133 |
# plot = px.scatter_3d(pivot_df[x], pivot_df[y], pivot_df[z]) #c=pivot_df[col], cmap='viridis')
|
|
|
|
|
134 |
fig = px.scatter_3d(pivot_df, x=x, y=y,z=z, hover_name=pivot_df.index, title=f'{x} vs {y} vs {z}', color=col, color_continuous_scale="agsunset")
|
135 |
return fig
|
136 |
|
|
|
131 |
# fig = plt.figure()
|
132 |
|
133 |
# plot = px.scatter_3d(pivot_df[x], pivot_df[y], pivot_df[z]) #c=pivot_df[col], cmap='viridis')
|
134 |
+
print(pivot_df)
|
135 |
+
|
136 |
fig = px.scatter_3d(pivot_df, x=x, y=y,z=z, hover_name=pivot_df.index, title=f'{x} vs {y} vs {z}', color=col, color_continuous_scale="agsunset")
|
137 |
return fig
|
138 |
|