Skip to content

Commit 09689bf

Browse files
committed
Merge branch 'main' of github.com:fmicompbio/intermediate_ggplot2
# Conflicts: # 3_many_points_scatterplot.html # 7_legend_placement.html
2 parents 9ff9db6 + 5dd2989 commit 09689bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

3_many_points_scatterplot.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ suppressPackageStartupMessages({
3535
library(tibble)
3636
})
3737
38-
# built-in `dimanonds` dataset from the `ggplot2` package (see ?ggplot2::diamonds)
38+
# built-in `diamonds` dataset from the `ggplot2` package (see ?ggplot2::diamonds)
3939
tibble(diamonds)
4040
```
4141

7_legend_placement.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ gg + theme(legend.position = "bottom")
6969
#| label: legend_inside
7070
7171
gg + theme(legend.position = "inside",
72-
legend.position.inside = c(0.85, 0.85),
72+
legend.position.inside = c(0.97, 0.97),
73+
legend.justification = c(1, 1),
7374
legend.background = element_rect(color = "black"),
7475
legend.title.position = "left")
7576
```

0 commit comments

Comments
 (0)