Commit ·
a39b706
1
Parent(s): ce98194
update requirements.txt
Browse files- app.py +2 -1
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -12,6 +12,7 @@ import matplotlib.patheffects as path_effects
|
|
| 12 |
import matplotlib.colors as mcolors
|
| 13 |
import matplotlib.colors as plt_colors
|
| 14 |
import pickle
|
|
|
|
| 15 |
|
| 16 |
pn.extension(design="bootstrap", sizing_mode="stretch_width", throttled=True)
|
| 17 |
|
|
@@ -489,7 +490,7 @@ division_selector = pn.widgets.MultiSelect(name='Division selector', options=ord
|
|
| 489 |
|
| 490 |
|
| 491 |
expr_by_region = pd.read_csv("./Data/expr_by_region.csv")
|
| 492 |
-
expr_by_region.set_index(["parcellation_division",
|
| 493 |
|
| 494 |
@pn.depends(division_selector)
|
| 495 |
def heatmap_region_centric(division):
|
|
|
|
| 12 |
import matplotlib.colors as mcolors
|
| 13 |
import matplotlib.colors as plt_colors
|
| 14 |
import pickle
|
| 15 |
+
import hvplot.pandas
|
| 16 |
|
| 17 |
pn.extension(design="bootstrap", sizing_mode="stretch_width", throttled=True)
|
| 18 |
|
|
|
|
| 490 |
|
| 491 |
|
| 492 |
expr_by_region = pd.read_csv("./Data/expr_by_region.csv")
|
| 493 |
+
expr_by_region.set_index(["parcellation_division", "parcellation_structure"], inplace=True)
|
| 494 |
|
| 495 |
@pn.depends(division_selector)
|
| 496 |
def heatmap_region_centric(division):
|
requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ holoviews~=1.18.1
|
|
| 4 |
numpy~=1.26.3
|
| 5 |
param~=2.0.2
|
| 6 |
matplotlib~=3.8.2
|
| 7 |
-
seaborn~=0.13.1
|
|
|
|
|
|
| 4 |
numpy~=1.26.3
|
| 5 |
param~=2.0.2
|
| 6 |
matplotlib~=3.8.2
|
| 7 |
+
seaborn~=0.13.1
|
| 8 |
+
hvplot~=0.9.2
|