Skip to content

Commit

Permalink
add point to mark_line
Browse files Browse the repository at this point in the history
  • Loading branch information
j-luo93 committed Sep 24, 2020
1 parent 55c9e4f commit fb65edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ graphviz
loguru
inflection
altair
prefect
2 changes: 1 addition & 1 deletion scripts/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def encode_y(encoding: str):

selected_color = alt.condition(selection, 'tgt_lang:N', alt.value('lightgray'))
selected_opacity = alt.condition(selection, alt.value(1.0), alt.value(0.0))
line = chart.mark_line().encode(
line = chart.mark_line(point=True).encode(
x='step:N',
y=encode_y('mean(value):Q'),
color=selected_color,
Expand Down

0 comments on commit fb65edf

Please sign in to comment.