Spaces:
Sleeping
Sleeping
Commit
·
fc4ec0f
1
Parent(s):
1bab366
Test to see if UI works
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ app.layout = html.Div([
|
|
15 |
dcc.Dropdown(["Visualize Statistical Properties of Data", "Visualize Time Series"], "Visualize Statistical Properties of Data", id="drop1")
|
16 |
]),
|
17 |
html.Div(id="gui-2"),
|
18 |
-
|
19 |
])
|
20 |
|
21 |
@callback(
|
@@ -35,11 +35,11 @@ def update_dropdown_one(input_value):
|
|
35 |
else:
|
36 |
return html.Div([
|
37 |
html.H3(children="Input a row to visualize time series data from:"),
|
38 |
-
dcc.Input(id='range', type='number', min=0, max=len(df)-1, step=1
|
39 |
])
|
40 |
|
41 |
@callback(
|
42 |
-
Output(component_id='figs', component_property='
|
43 |
Input(component_id='drop2', component_property='value')
|
44 |
)
|
45 |
def visualize_stats(input_value):
|
|
|
15 |
dcc.Dropdown(["Visualize Statistical Properties of Data", "Visualize Time Series"], "Visualize Statistical Properties of Data", id="drop1")
|
16 |
]),
|
17 |
html.Div(id="gui-2"),
|
18 |
+
html.Div(id="figs")
|
19 |
])
|
20 |
|
21 |
@callback(
|
|
|
35 |
else:
|
36 |
return html.Div([
|
37 |
html.H3(children="Input a row to visualize time series data from:"),
|
38 |
+
dcc.Input(id='range', type='number', min=0, max=len(df)-1, step=1)
|
39 |
])
|
40 |
|
41 |
@callback(
|
42 |
+
Output(component_id='figs', component_property='children'),
|
43 |
Input(component_id='drop2', component_property='value')
|
44 |
)
|
45 |
def visualize_stats(input_value):
|