Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Dec 22, 2024
1 parent 4942264 commit fa24808
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@
c = base.mark_point(size=100).encode(
y=alt.Y(prop, scale=alt.Scale(domain=[ymin, ymax])),
)
cr = c.transform_regression("day", prop).mark_line(color="grey", strokeDash=[4, 4])
cl = c.mark_line()
layers = alt.layer(c, cr, cl) # .resolve_scale(y="independent")
reg_line = c.transform_regression("day", prop).mark_line(
color="gray", strokeDash=[4, 4]
)
layers = alt.layer(c, c.mark_line(), reg_line) # .resolve_scale(y="independent")
st.altair_chart(layers, use_container_width=True) # type: ignore


Expand Down

0 comments on commit fa24808

Please sign in to comment.