Saif-bio commited on
Commit
13badab
·
verified ·
1 Parent(s): f24626e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -44,8 +44,7 @@ def app():
44
  ax.tick_params(axis='x', rotation=45)
45
 
46
  if "Quantity of Pizzas" in plot["title"]:
47
- data_aux = df.groupby(plot["x"])[plot["y"]].sum().reset_index().sort_values(by=plot["y"], ascending=False).head(plot["top"])
48
- sns.countplot(data_aux=df, x=plot["x"], hue=plot["hue"], ax=ax)
49
 
50
 
51
  if "Monthly Revenue" in plot["title"]:
 
44
  ax.tick_params(axis='x', rotation=45)
45
 
46
  if "Quantity of Pizzas" in plot["title"]:
47
+ sns.countplot(data=df, x=plot["x"], hue=plot["hue"], ax=ax)
 
48
 
49
 
50
  if "Monthly Revenue" in plot["title"]: