an0nymous commited on
Commit
f7280d1
·
verified ·
1 Parent(s): 0a20693

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def plot_scatter(cat, x, y, col):
37
  pivot_df[col] = pivot_df.index.str.split("/").str[0]
38
 
39
  # Create an interactive scatter plot
40
- fig = px.scatter(pivot_df, x=x, y=y, hover_name=pivot_df.index, title=f'{x} vs {y}', color=col, color_continuous_scale="agsunset")
41
 
42
  # Show the plot
43
  return fig
 
37
  pivot_df[col] = pivot_df.index.str.split("/").str[0]
38
 
39
  # Create an interactive scatter plot
40
+ fig = plt.scatter(pivot_df, x=x, y=y, hover_name=pivot_df.index, title=f'{x} vs {y}', color=col, color_continuous_scale="agsunset")
41
 
42
  # Show the plot
43
  return fig