Skip to content

Commit

Permalink
Merge branch 'main' into when-then-user-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Sep 9, 2024
2 parents 6d6b8a6 + 682b169 commit 222deb5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/examples_arguments_syntax/us_population_over_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
name="Year",
fields=["year"],
bind=alt.binding_range(min=1900, max=2000, step=10, name="Year"),
value={"year": 2000},
value=2000,
)

alt.Chart(source).mark_bar().encode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

slider = alt.binding_range(min=1850, max=2000, step=10)
select_year = alt.selection_point(name='year', fields=['year'],
bind=slider, value={'year': 2000})
bind=slider, value=2000)

base = alt.Chart(source).add_params(
select_year
Expand Down
2 changes: 1 addition & 1 deletion tests/examples_methods_syntax/us_population_over_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
name="Year",
fields=["year"],
bind=alt.binding_range(min=1900, max=2000, step=10, name="Year"),
value={"year": 2000},
value=2000,
)

alt.Chart(source).mark_bar().encode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

slider = alt.binding_range(min=1850, max=2000, step=10)
select_year = alt.selection_point(name='year', fields=['year'],
bind=slider, value={'year': 2000})
bind=slider, value=2000)

base = alt.Chart(source).add_params(
select_year
Expand Down

0 comments on commit 222deb5

Please sign in to comment.