Hack90 commited on
Commit
4b6240f
·
verified ·
1 Parent(s): 80a39de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ with ui.navset_card_tab(id="tab"):
87
  import seaborn as sns
88
  df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
89
  df = df.explode('charts').copy()
90
- ax = sns.histplot(data=df, x='charts', hue='organism_name')
91
  ax.set_title("Distribution")
92
  ax.set_xlabel("Distance from mean")
93
  ax.set_ylabel("Count")
 
87
  import seaborn as sns
88
  df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
89
  df = df.explode('charts').copy()
90
+ ax = sns.histplot(data=df, x='charts', hue='organism_name', stat='density')
91
  ax.set_title("Distribution")
92
  ax.set_xlabel("Distance from mean")
93
  ax.set_ylabel("Count")