R/show_colour.R

Defines functions show_colour

show_colour <- function(col) {
  tibble::tibble(
    x = 1,
    y = 1
  ) %>%
    ggplot2::ggplot(ggplot2::aes(x = x, y = y)) +
    ggplot2::geom_point(colour = col, size = 50) +
    ggplot2::theme_void()
}
TheoPannetier/comsie documentation built on Nov. 21, 2022, 4:35 p.m.