Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ with ui.navset_card_tab(id="tab"):
|
|
| 86 |
def plot_distro_new():
|
| 87 |
import seaborn as sns
|
| 88 |
df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
|
| 89 |
-
|
| 90 |
ax = sns.histplot(data=df, x='charts', hue='organism_name')
|
| 91 |
ax.set_title("Palmer Penguins")
|
| 92 |
ax.set_xlabel("Mass (g)")
|
|
|
|
| 86 |
def plot_distro_new():
|
| 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("Palmer Penguins")
|
| 92 |
ax.set_xlabel("Mass (g)")
|