Skip to content

Commit

Permalink
issue 61
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 15, 2024
1 parent 154b7bc commit 1a4ed32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/tutorial.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,14 @@ colnames(k) <- NULL
# 20 levels of Inferno colors
bg <- hcl.colors(20, "Inferno")
fg <- ifelse(as.matrix(k) < 17, tail(bg, 1), head(bg, 1))
fs <- 1:20
tt(k, width = .5, theme = "void") |>
style_tt(
i = 1:4,
j = 1:5,
color = "white",
color = fg,
background = bg,
fontsize = fs)
```
Expand Down

0 comments on commit 1a4ed32

Please sign in to comment.