Commit ·
297e67e
1
Parent(s): d6cf594
solve bug update
Browse files
app.py
CHANGED
|
@@ -185,7 +185,7 @@ class MERFISH_viz(param.Parameterized):
|
|
| 185 |
|
| 186 |
return (plot1 + plot2).opts(common_opts)
|
| 187 |
|
| 188 |
-
@param.depends("brain_section_index",
|
| 189 |
def get_section(self):
|
| 190 |
brain_section = self.current_data['brain_section_label'].unique()[self.brain_section_index]
|
| 191 |
section = self.filtered_data[self.filtered_data['brain_section_label'] == brain_section]
|
|
|
|
| 185 |
|
| 186 |
return (plot1 + plot2).opts(common_opts)
|
| 187 |
|
| 188 |
+
@param.depends("brain_section_index","filter_by_class_subclass", watch=True)
|
| 189 |
def get_section(self):
|
| 190 |
brain_section = self.current_data['brain_section_label'].unique()[self.brain_section_index]
|
| 191 |
section = self.filtered_data[self.filtered_data['brain_section_label'] == brain_section]
|