Intro Thoughts
Status Quo
library(tidyverse)
Experiment
library(tidyverse)
library(ggram)
'ggplot(cars) +
aes(speed, dist) +
geom_point() +
annotate(geom = "text",
x = I(.2), #<<
y = I(.9), #<<
label = "🤗",
size = 15)' |>
ggram("New in ggplot2 v 3.5, using I() with x,y can be helpful for some plot annotations",
subtitle = "In the plotting panel, the hugging face '🤗' annotation lies 2/10 of the way over\nand 9/10 of the way up! 📊🚀", code = _)
## Warning: Removed 10 rows containing missing values or values outside the scale range
## (`geom_hline()`).
