Spaces:
Sleeping
Sleeping
reorganized function
Browse files- pages/05_GOES_NBR.py +8 -8
pages/05_GOES_NBR.py
CHANGED
@@ -45,14 +45,14 @@ class Map(geemap.Map):
|
|
45 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|
46 |
output = widgets.Output()
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
'''
|
58 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|
|
|
45 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|
46 |
output = widgets.Output()
|
47 |
|
48 |
+
def on_selection(_):
|
49 |
+
with output:
|
50 |
+
print(output)
|
51 |
+
|
52 |
+
selector.on_click(on_selection)
|
53 |
+
|
54 |
+
widget = widgets.VBox([selector, output])
|
55 |
+
self.add_widget(widget)
|
56 |
|
57 |
'''
|
58 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|