Skip to content

Commit fa3de06

Browse files
authored
sync format with previous figure
1 parent 0a5ac76 commit fa3de06

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

episodes/simulating-transmission.Rmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,12 +516,13 @@ newinfections_bygroup <- epidemics::new_infections(data = output)
516516
517517
# Visualise the spread of the epidemic in terms of new infections
518518
newinfections_bygroup %>%
519-
ggplot(aes(time, new_infections, colour = demography_group)) +
519+
ggplot(aes(x = time, y = new_infections, colour = demography_group)) +
520520
geom_line() +
521521
scale_y_continuous(
522-
breaks = scales::breaks_pretty(n = 10),
522+
breaks = scales::breaks_pretty(n = 5),
523523
labels = scales::comma
524-
)
524+
) +
525+
theme_bw()
525526
```
526527

527528
:::::::::::::::::::::::

0 commit comments

Comments
 (0)