davidhodge931 / ggblanket

Simplify ggplot2 visualisation
https://davidhodge931.github.io/ggblanket/
Other
150 stars 8 forks source link

remove label: need to make it easier to remove the x, y & col label #881

Closed davidhodge931 closed 3 months ago

davidhodge931 commented 3 months ago

Either

Or

col_unlabel()

davidhodge931 commented 3 months ago

Option 2 better, as avoids namesapce collision and makes it clear function relates to the plot

davidhodge931 commented 3 months ago
set_blanket(
  mode = light_mode_r() + unlabel(col = TRUE)
)
set_blanket(
  mode = light_mode_r() + unlabel(col = T)
)

set_blanket(
  mode = light_mode_r() + col_unlabel()
)

set_blanket(
  mode = light_mode_r() + theme_unlabel(col = TRUE)
)

set_blanket(
  mode = light_mode_r() + theme_unlabel(col = T)
)

set_blanket(
  mode = light_mode_r() + unlabel_col()
)

set_blanket(
  mode = light_mode_r() + unlabel_legend()
)