Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|