Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Oct 22, 2023
1 parent b2f32d1 commit a978f2a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions vizro-core/examples/default/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
vm.Tabs(
tabs=[
vm.Tab(
label="Tab I Label",
title="Tab I Title",
title="Tab I",
components=[
vm.Graph(
id="graph-1",
Expand Down Expand Up @@ -58,8 +57,7 @@
],
),
vm.Tab(
label="Tab II Label",
title="Tab II Title",
title="Tab II",
components=[
vm.Graph(
id="graph-4",
Expand Down Expand Up @@ -90,7 +88,7 @@
controls=[
# TODO: Fix issue of graphs only being updated if they are target of controls
vm.Parameter(
targets=["graph-1.y", "graph-2.y", "graph-3.y", "graph-4.y", "graph-5.y"],
targets=["graph-1.y", "graph-2.y", "graph-3.y", "graph-4.y"],
selector=vm.RadioItems(options=["lifeExp", "pop", "gdpPercap"], title="Select variable"),
)
],
Expand Down

0 comments on commit a978f2a

Please sign in to comment.