Spaces:
Sleeping
Sleeping
Arts-of-coding
commited on
Update pages/d101110xflex.py
Browse files- pages/d101110xflex.py +21 -21
pages/d101110xflex.py
CHANGED
@@ -290,12 +290,12 @@ layout = html.Div([
|
|
290 |
Output("max-slider-2", "value", allow_duplicate=True),
|
291 |
Output("min-slider-3", "value", allow_duplicate=True),
|
292 |
Output("max-slider-3", "value", allow_duplicate=True),
|
293 |
-
Input("min-slider-1", "value"
|
294 |
-
Input("max-slider-1", "value"
|
295 |
-
Input("min-slider-2", "value"
|
296 |
-
Input("max-slider-2", "value"
|
297 |
-
Input("min-slider-3", "value"
|
298 |
-
Input("max-slider-3", "value"
|
299 |
)
|
300 |
def circular_callback(min_1, max_1, min_2, max_2, min_3, max_3):
|
301 |
return min_1, max_1, min_2, max_2, min_3, max_3
|
@@ -304,12 +304,12 @@ def circular_callback(min_1, max_1, min_2, max_2, min_3, max_3):
|
|
304 |
Output('range-slider-1', 'value', allow_duplicate=True),
|
305 |
Output('range-slider-2', 'value', allow_duplicate=True),
|
306 |
Output('range-slider-3', 'value', allow_duplicate=True),
|
307 |
-
Input('min-slider-1', 'value'
|
308 |
-
Input('max-slider-1', 'value'
|
309 |
-
Input('min-slider-2', 'value'
|
310 |
-
Input('max-slider-2', 'value'
|
311 |
-
Input('min-slider-3', 'value'
|
312 |
-
Input('max-slider-3', 'value'
|
313 |
)
|
314 |
def update_slider_values(min_1, max_1, min_2, max_2, min_3, max_3):
|
315 |
return [min_1, max_1], [min_2, max_2], [min_3, max_3]
|
@@ -330,15 +330,15 @@ def update_slider_values(min_1, max_1, min_2, max_2, min_3, max_3):
|
|
330 |
Output(component_id='scatter-plot-11', component_property='figure', allow_duplicate=True),
|
331 |
Output(component_id='scatter-plot-12', component_property='figure', allow_duplicate=True),
|
332 |
Output(component_id='my-graph2', component_property='figure', allow_duplicate=True),
|
333 |
-
Input(component_id='dpdn2', component_property='value'
|
334 |
-
Input(component_id='dpdn3', component_property='value'
|
335 |
-
Input(component_id='dpdn4', component_property='value'
|
336 |
-
Input(component_id='dpdn5', component_property='value'
|
337 |
-
Input(component_id='dpdn6', component_property='value'
|
338 |
-
Input(component_id='dpdn7', component_property='value'
|
339 |
-
Input(component_id='range-slider-1', component_property='value'
|
340 |
-
Input(component_id='range-slider-2', component_property='value'
|
341 |
-
Input(component_id='range-slider-3', component_property='value'
|
342 |
)
|
343 |
|
344 |
def update_graph_and_pie_chart(col_chosen, s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
|
|
|
290 |
Output("max-slider-2", "value", allow_duplicate=True),
|
291 |
Output("min-slider-3", "value", allow_duplicate=True),
|
292 |
Output("max-slider-3", "value", allow_duplicate=True),
|
293 |
+
Input("min-slider-1", "value"),
|
294 |
+
Input("max-slider-1", "value"),
|
295 |
+
Input("min-slider-2", "value"),
|
296 |
+
Input("max-slider-2", "value"),
|
297 |
+
Input("min-slider-3", "value"),
|
298 |
+
Input("max-slider-3", "value")
|
299 |
)
|
300 |
def circular_callback(min_1, max_1, min_2, max_2, min_3, max_3):
|
301 |
return min_1, max_1, min_2, max_2, min_3, max_3
|
|
|
304 |
Output('range-slider-1', 'value', allow_duplicate=True),
|
305 |
Output('range-slider-2', 'value', allow_duplicate=True),
|
306 |
Output('range-slider-3', 'value', allow_duplicate=True),
|
307 |
+
Input('min-slider-1', 'value'),
|
308 |
+
Input('max-slider-1', 'value'),
|
309 |
+
Input('min-slider-2', 'value'),
|
310 |
+
Input('max-slider-2', 'value'),
|
311 |
+
Input('min-slider-3', 'value'),
|
312 |
+
Input('max-slider-3', 'value')
|
313 |
)
|
314 |
def update_slider_values(min_1, max_1, min_2, max_2, min_3, max_3):
|
315 |
return [min_1, max_1], [min_2, max_2], [min_3, max_3]
|
|
|
330 |
Output(component_id='scatter-plot-11', component_property='figure', allow_duplicate=True),
|
331 |
Output(component_id='scatter-plot-12', component_property='figure', allow_duplicate=True),
|
332 |
Output(component_id='my-graph2', component_property='figure', allow_duplicate=True),
|
333 |
+
Input(component_id='dpdn2', component_property='value'),
|
334 |
+
Input(component_id='dpdn3', component_property='value'),
|
335 |
+
Input(component_id='dpdn4', component_property='value'),
|
336 |
+
Input(component_id='dpdn5', component_property='value'),
|
337 |
+
Input(component_id='dpdn6', component_property='value'),
|
338 |
+
Input(component_id='dpdn7', component_property='value'),
|
339 |
+
Input(component_id='range-slider-1', component_property='value'),
|
340 |
+
Input(component_id='range-slider-2', component_property='value'),
|
341 |
+
Input(component_id='range-slider-3', component_property='value')
|
342 |
)
|
343 |
|
344 |
def update_graph_and_pie_chart(col_chosen, s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
|