Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -167,9 +167,9 @@ options_com_dict = dict(zip(options_com["nom_commune"], options_com["code_commun
|
|
167 |
|
168 |
|
169 |
# Widgets
|
170 |
-
variable_widget = pn.widgets.Select(name="code_variable", options=options_vars_dict
|
171 |
#territoire_widget = pn.widgets.TextInput(name="filtre_territoire")
|
172 |
-
territoire_widget = pn.widgets.Select(name="filtre_territoire", options=options_com_dict
|
173 |
|
174 |
# Bindings
|
175 |
bound_plot_histogramme = pn.bind(run_territoire_histo, code_variable=variable_widget, filtre_territoire=territoire_widget)
|
|
|
167 |
|
168 |
|
169 |
# Widgets
|
170 |
+
variable_widget = pn.widgets.Select(name="code_variable", options=options_vars_dict)
|
171 |
#territoire_widget = pn.widgets.TextInput(name="filtre_territoire")
|
172 |
+
territoire_widget = pn.widgets.Select(name="filtre_territoire", options=options_com_dict)
|
173 |
|
174 |
# Bindings
|
175 |
bound_plot_histogramme = pn.bind(run_territoire_histo, code_variable=variable_widget, filtre_territoire=territoire_widget)
|