Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-qb committed Nov 15, 2024
1 parent 1e3ba7f commit 41adc9e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions vizro-core/examples/scratch_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def load_from_file(filter_column=None, parametrized_species=None):
vm.Parameter(
targets=["p1-G-1.x", "p1-G-2.x"],
selector=vm.RadioItems(
options=["species", "sepal_width"], value="species", title="Simple X-axis parameter"
options=["species", "sepal_width"], title="Simple X-axis parameter"
),
),
],
Expand Down Expand Up @@ -241,15 +241,8 @@ def load_from_file(filter_column=None, parametrized_species=None):
# selector=vm.RangeSlider(id="filter_id", value=[5, 7]),
),
vm.Parameter(
id="parameter_x",
targets=[
"graph_dynamic.x",
],
selector=vm.Dropdown(
options=["species", "sepal_width"],
value="species",
multi=False,
),
targets=["graph_dynamic.x"],
selector=vm.RadioItems(options=["species", "sepal_width"], title="Simple X-axis parameter"),
),
],
)
Expand Down

0 comments on commit 41adc9e

Please sign in to comment.