Skip to content

Commit

Permalink
fix: Change multiple encodings in falkensee
Browse files Browse the repository at this point in the history
Getting a different error now, but pushing as is
  • Loading branch information
dangotbanned committed Nov 24, 2024
1 parent 141182a commit 2e05ec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/examples_arguments_syntax/falkensee.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@


line = alt.Chart(source_df).mark_line(color="#333").encode(
x=alt.X("year:T", axis=alt.Axis(format="%Y"), title="Year"),
x=alt.X("year:Q", axis=alt.Axis(format="%Y"), title="Year"),
y=alt.Y("population", title="Population"),
)

point = line.mark_point(color="#333")

rect = alt.Chart(source2_df).mark_rect().encode(
x="start:T",
x2="end:T",
x="start:Q",
x2="end:Q",
color=alt.Color("event:N", title="Event")
)

Expand Down
6 changes: 3 additions & 3 deletions tests/examples_methods_syntax/falkensee.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@


line = alt.Chart(source_df).mark_line(color="#333").encode(
alt.X("year:T").axis(format="%Y").title("Year"),
alt.X("year:Q").axis(format="%Y").title("Year"),
alt.Y("population").title("Population"),
)

point = line.mark_point(color="#333")

rect = alt.Chart(source2_df).mark_rect().encode(
x="start:T",
x2="end:T",
x="start:Q",
x2="end:Q",
color=alt.Color("event:N").title("Event")
)

Expand Down

0 comments on commit 2e05ec2

Please sign in to comment.