adicion de la gráfica que muestra el hist de visitas/microbiota

parent 9b4be94e
......@@ -29,6 +29,26 @@ Total_pacientes = len(data_o.index)
data = data_o.loc[data_o["incluido"]]
Total_incluidos = len(data)
scat = px.scatter(data, x="NDias_glucosa", y="Comidas_Aisladas",size="AUCs_glucosa")
vis_sec = {
"data": [
{
#"x": temp["paciente"],
"x": data["Nvisitas"].astype("str") + "_visitas",
"type": "histogram",
"name": "Visitas",
"histnorm": "percent",
#"orientation": "v",
},
{ "x": data["Secuenciaciones"], "type": "histogram", "name": "Secuenciaciones", "histnorm": "percent"},
],
"layout": {
#"title": {"text": title + " " + etapalab + str(etapaDet)},
"xaxis": { "title": {"text": "Visitas por paciente"}},
"yaxis": { "title": {"text": "% de pacientes"}},
}
}
external_stylesheets = [
{
"href": (
......
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