set options for drawing gridlines on heatmaps

heat_grid(
  col = "white",
  alpha = 1,
  lty = 1,
  lwd = 0.5,
  lex = 1,
  lineend = "round",
  linejoin = "round"
)

Arguments

col

Colour for lines and borders.

alpha

Alpha channel for transparency

lty

Line type

lwd

Line width

lex

Multiplier applied to line width

lineend

Line end style (round, butt, square)

linejoin

Line join style (round, mitre, bevel)