danielle-losos commited on
Commit
5fab2b7
·
verified ·
1 Parent(s): 2e891b4

reorganized function

Browse files
Files changed (1) hide show
  1. 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
- 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:')
 
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:')