Dynamic themes: x-tick spacing doesn't account for newlines

#742 · closed · 0 comments

View on GitHub ↗

grantmcdermott

``` r library(tinyplot) plt( x = c("Hello", "Hello\nWorld"), y = c(1,1), type = "p", xlab = "x", theme = "dynamic", ) ``` ![](https://i.imgur.com/6D8Nq3u.png)<!-- --> <sup>Created on 2026-09-23 with [reprex v2.1.1](https://reprex.tidyverse.org)</sup>

Comments