Saif-bio commited on
Commit
3870f73
·
verified ·
1 Parent(s): ce9bbf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,10 +39,10 @@ def app():
39
  fig, ax = plt.subplots()
40
 
41
  if "Top Selling" in plot["title"]:
42
- sns.countplot(data=df, x=plot["x"])
43
- if "Category" in plot["title"]:
44
  sns.countplot(data=df, x=plot["x"], hue=plot["hue"])
45
- if "Size" in plot["title"]:
46
  sns.countplot(data=df, x=plot["x"], hue=plot["hue"])
47
  if "Revenue" in plot["title"]:
48
  sns.countplot(data=df, x=plot["x"], ax=plot["top"], hue=plot["hue"], estimator=plot["estimator"], marker=plot["marker"])
 
39
  fig, ax = plt.subplots()
40
 
41
  if "Top Selling" in plot["title"]:
42
+ sns.countplot(data=df, x=plot["x"], ax=plot["top"])
43
+ if "Category and Time of the Day" in plot["title"]:
44
  sns.countplot(data=df, x=plot["x"], hue=plot["hue"])
45
+ if "Size and Time of the Day" in plot["title"]:
46
  sns.countplot(data=df, x=plot["x"], hue=plot["hue"])
47
  if "Revenue" in plot["title"]:
48
  sns.countplot(data=df, x=plot["x"], ax=plot["top"], hue=plot["hue"], estimator=plot["estimator"], marker=plot["marker"])