Skip to content

Commit

Permalink
⬆️ Follow updates in ggplot2 3.5 on legend.position
Browse files Browse the repository at this point in the history
  • Loading branch information
heavywatal committed Mar 6, 2024
1 parent c4d0814 commit e2a1cd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/growth.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ fig5b = ggplot(df) +
theme(
panel.grid = element_blank(),
axis.ticks = element_blank(),
legend.key.height = unit(0.7, "lines"),
legend.position = c(0.98, 0.02), legend.justification = c(1, 0)
legend.key.height = unit(0.7, "lines"), legend.justification = c(1, 0),
legend.position = "inside", legend.position.inside = c(0.98, 0.02)
)
# ggsave("fig5b.png", fig5b, width = 3, height = 3)
Expand Down

0 comments on commit e2a1cd5

Please sign in to comment.