MagicDash commited on
Commit
61c256e
·
verified ·
1 Parent(s): 2dcc678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -357,7 +357,7 @@ async def result(request: Request,
357
  for i, var in enumerate(int_vars):
358
  top_categories = df[var].value_counts().nlargest(10).index
359
  filtered_df = df[df[var].notnull() & df[var].isin(top_categories)]
360
- sns.histplot(data=df, x=var, hue=target, kde=True, ax=axs[i], stat="percent")
361
  axs[i].set_title(var)
362
 
363
  # Annotate the subplot with sample size
 
357
  for i, var in enumerate(int_vars):
358
  top_categories = df[var].value_counts().nlargest(10).index
359
  filtered_df = df[df[var].notnull() & df[var].isin(top_categories)]
360
+ sns.histplot(data=df, x=var, hue=target, kde=False, ax=axs[i], stat="percent")
361
  axs[i].set_title(var)
362
 
363
  # Annotate the subplot with sample size