Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -853,14 +853,14 @@ with ui.navset_card_tab(id="tab"):
|
|
| 853 |
"virus_selector",
|
| 854 |
"Select your viruses:",
|
| 855 |
virus,
|
| 856 |
-
multiple=True,
|
| 857 |
)
|
| 858 |
with ui.card():
|
| 859 |
ui.input_selectize(
|
| 860 |
"plot_type_macro",
|
| 861 |
"Select your method:",
|
| 862 |
["Chaos Game Representation", "2D Line", "ColorSquare", "Persistant Homology", "Wens Method"],
|
| 863 |
-
multiple=False,
|
| 864 |
)
|
| 865 |
|
| 866 |
############################################################# Plotting ########################################################
|
|
@@ -907,7 +907,7 @@ with ui.navset_card_tab(id="tab"):
|
|
| 907 |
"plot_type",
|
| 908 |
"Select metric:",
|
| 909 |
["percentage", "count"],
|
| 910 |
-
multiple=False,
|
| 911 |
)
|
| 912 |
|
| 913 |
import matplotlib as mpl
|
|
|
|
| 853 |
"virus_selector",
|
| 854 |
"Select your viruses:",
|
| 855 |
virus,
|
| 856 |
+
multiple=True, selected=None
|
| 857 |
)
|
| 858 |
with ui.card():
|
| 859 |
ui.input_selectize(
|
| 860 |
"plot_type_macro",
|
| 861 |
"Select your method:",
|
| 862 |
["Chaos Game Representation", "2D Line", "ColorSquare", "Persistant Homology", "Wens Method"],
|
| 863 |
+
multiple=False, selected=None
|
| 864 |
)
|
| 865 |
|
| 866 |
############################################################# Plotting ########################################################
|
|
|
|
| 907 |
"plot_type",
|
| 908 |
"Select metric:",
|
| 909 |
["percentage", "count"],
|
| 910 |
+
multiple=False, selected=None
|
| 911 |
)
|
| 912 |
|
| 913 |
import matplotlib as mpl
|