más modificaciones para dejar solo las fuentes originales

parent 033447c1
......@@ -114,23 +114,6 @@ app.layout = html.Div(
value=Visitas_e,
marks={1:"1", 2:"2", 3:"3", 4:"4"}
),
"Fisiometría",
dcc.Slider(
id="min_fismet",
min=1,
max=Visitas_e,
value=Visitas_e,
marks={1:"1", 2:"2", 3:"3", 4:"4"}
),
"qs",
dcc.Slider(
id="min_qs",
min=1,
max=Visitas_e,
value=Visitas_e,
marks={1:"1", 2:"2", 3:"3", 4:"4"}
),
"Visitas",
dcc.Slider(
id="min_visitas",
......@@ -148,7 +131,29 @@ app.layout = html.Div(
className="wrapper"),
html.Div(
children=[
html.Div("Aqui van las gráficas de food analisis", className="wrapper"),
html.Div("Detalle por participante", className="wrapper"),
dcc.Graph(
figure={
"data": [
{
"y":data["Selectedfoods"],
"x":data["nutrid"],
"type":"bar"
},
],
"layout": {"title":"Comidas por paciente"}
}),
dcc.Graph(
figure={
"data": [
{
"y":data["Days_glucose"],
"x":data["nutrid"],
"type":"bar"
},
],
"layout": {"title":"Dias de glucómetro por paciente"}
}),
dcc.Graph(
figure={
"data": [
......@@ -160,8 +165,9 @@ app.layout = html.Div(
],
"layout": {"title":"Comidas analizables por paciente"}
"layout": {"title":"AUCs paciente"}
}),
dcc.Graph(
figure=scat),
......@@ -245,9 +251,9 @@ def update_charts(etapaSel,min_comidas, min_glucosa, min_reloj, min_microbiota,
gauge = gauges,
))
glucosa_data = data.query("Days_glucose >= @min_glucosa")
multi.add_trace(go.Indicator(
value = 100 * len(glucosa_data.index) / Total_pacientes,
value = 100 * len(glucosa_data.index) / Total_incluidos,
domain = {'x': [0.25, 1], 'y': [0.8, 0.9]},
title = {'text': "Glucómetro"},
mode = modes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment