Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 2, 2024
1 parent 4454b18 commit a8b78eb
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions vizro-core/examples/scratch_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro
from vizro.tables import dash_data_table, dash_ag_grid
from vizro.tables import dash_ag_grid, dash_data_table

df = px.data.iris()

Expand Down Expand Up @@ -37,10 +37,12 @@
vm.Table(figure=dash_data_table(df), title="My Table"),
vm.Graph(
figure=px.scatter(
df, x="sepal_width", y="sepal_length",
df,
x="sepal_width",
y="sepal_length",
),
title="My Graph",
header=HEADER
header=HEADER,
),
],
)
Expand All @@ -51,23 +53,22 @@
grid=[[0, 1, 2]],
),
components=[
vm.AgGrid(figure=dash_ag_grid(df), title="My AgGrid", header=HEADER,
footer=FOOTER),
vm.Table(figure=dash_data_table(df), title="My Table", header=HEADER,
footer=FOOTER),
vm.AgGrid(figure=dash_ag_grid(df), title="My AgGrid", header=HEADER, footer=FOOTER),
vm.Table(figure=dash_data_table(df), title="My Table", header=HEADER, footer=FOOTER),
vm.Graph(
figure=px.scatter(
df, x="sepal_width", y="sepal_length",
df,
x="sepal_width",
y="sepal_length",
),
title="My Graph",
header=HEADER,
footer=FOOTER
footer=FOOTER,
),
],
)



dashboard = vm.Dashboard(pages=[page, page_two, page_three])

if __name__ == "__main__":
Expand Down

0 comments on commit a8b78eb

Please sign in to comment.