Skip to content

Commit

Permalink
vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 22, 2024
1 parent ba7aaf0 commit cc7ad7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vignettes/tutorial.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ tt(x) |>
We can also produce more complex heatmap-like tables to illustrate different font sizes in em units:

```{r}
#| fig-asp: .4
# font sizes
fs <- seq(.1, 2, length.out = 20)
Expand All @@ -560,7 +559,7 @@ bg <- hcl.colors(20, "Inferno")
fg <- ifelse(as.matrix(k) < 1.7, tail(bg, 1), head(bg, 1))
# table
tt(k, width = .5, theme = "void") |>
tt(k, width = .7, theme = "void") |>
style_tt(j = 1:5, align = "ccccc") |>
style_tt(
i = 1:4,
Expand Down

0 comments on commit cc7ad7b

Please sign in to comment.