Skip to contents

add_card_text() is a helper function used internally by plot_cards().

Usage

add_card_text(
  plots,
  card = NULL,
  text = NULL,
  color = "white",
  size = 5,
  family = NULL,
  nudge_x = 0,
  nudge_y = 0.5
)

Arguments

nudge_x, nudge_y

Horizontal and vertical adjustment to nudge labels by. Useful for offsetting text from points, particularly on discrete scales. Cannot be jointly specified with position.