Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
inventario
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Luis Gordillo Ruiz
inventario
Commits
7726be0f
Commit
7726be0f
authored
Aug 05, 2024
by
Jose Luis Gordillo Ruiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gráfica scatter comidas vs glucómetro
parent
c6fabf3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletions
+24
-1
dinamyc.py
+24
-1
No files found.
dinamyc.py
View file @
7726be0f
import
pandas
as
pd
from
dash
import
Dash
,
Input
,
Output
,
dcc
,
html
import
plotly.graph_objects
as
go
import
plotly.express
as
px
data
=
(
pd
.
read_csv
(
"inventario.csv"
)
)
scat
=
px
.
scatter
(
data
,
x
=
"Days_glucose"
,
y
=
"Selectedfoods"
,
size
=
"medibles"
)
external_stylesheets
=
[
{
"href"
:
(
...
...
@@ -67,6 +68,28 @@ app.layout = html.Div(
),
dcc
.
Graph
(
id
=
"multi-chart"
)],
className
=
"wrapper"
),
html
.
Div
(
children
=
[
html
.
Div
(
"Aqui van las gráficas de food analisis"
,
className
=
"wrapper"
),
dcc
.
Graph
(
figure
=
{
"data"
:
[
{
"y"
:
data
[
"medibles"
],
"x"
:
data
[
"nutrid"
],
"type"
:
"bar"
},
],
"layout"
:
{
"title"
:
"Comidas analizables por paciente"
}
}),
dcc
.
Graph
(
figure
=
scat
),
],
className
=
"wrapper"
)
]
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment