Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ from utils import (
|
|
| 14 |
plot_distrobutions
|
| 15 |
)
|
| 16 |
import os
|
|
|
|
| 17 |
import matplotlib as mpl
|
| 18 |
mpl.rcParams.update(mpl.rcParamsDefault)
|
| 19 |
|
|
@@ -85,7 +86,7 @@ with ui.navset_card_tab(id="tab"):
|
|
| 85 |
def plot_distro():
|
| 86 |
df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
|
| 87 |
ax = sns.histplot(data=df, x='charts', hue='organism_name')
|
| 88 |
-
return
|
| 89 |
|
| 90 |
with ui.nav_panel("Viral Microstructure"):
|
| 91 |
ui.panel_title("Kmer Distribution")
|
|
|
|
| 14 |
plot_distrobutions
|
| 15 |
)
|
| 16 |
import os
|
| 17 |
+
import seaborn as sns
|
| 18 |
import matplotlib as mpl
|
| 19 |
mpl.rcParams.update(mpl.rcParamsDefault)
|
| 20 |
|
|
|
|
| 86 |
def plot_distro():
|
| 87 |
df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
|
| 88 |
ax = sns.histplot(data=df, x='charts', hue='organism_name')
|
| 89 |
+
return ax
|
| 90 |
|
| 91 |
with ui.nav_panel("Viral Microstructure"):
|
| 92 |
ui.panel_title("Kmer Distribution")
|