Skip to content

Commit

Permalink
Tweak axis labels (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
swo authored Nov 13, 2024
1 parent f72eefd commit f124460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
plot_demand_by_time = (
alt.Chart(demand_by_time)
.encode(
alt.X("time", title="Week of demand", axis=time_axis),
alt.X("time", title="Week of immunization", axis=time_axis),
alt.Y("n_doses", title="Weekly no. of doses"),
alt.Color("drug_dosage", title="Dosage"),
row_encoding,
Expand All @@ -73,7 +73,7 @@
plot_demand_by_birth = (
alt.Chart(demand_by_birth)
.encode(
alt.X("time", title="Week of birth", axis=time_axis),
alt.X("time", title="Birth cohort (week of birth)", axis=time_axis),
alt.Y("n_doses", title=None),
alt.Color("drug_dosage"),
row_encoding,
Expand Down

0 comments on commit f124460

Please sign in to comment.