When adding `type_hline()` or `type_vline()` to a plain faceted `tinyplot()` (i.e., not via `by`), then the lines are only added in the first panel: ``` tinyplot(bill_len ~ flipper_len, facet = ~ species, data = penguins) tinyplot_add(type = type_hline(44)) tinyplot_add(type = type_vline(200)) ```  Interestingly, the same code works for a `facet = "by"` plot: ``` tinyplot(bill_len ~ flipper_len | species, facet = "by", data = penguins) tinyplot_add(type = type_hline(44)) tinyplot_add(type = type_vline(200)) ```  I didn't try to dig into this, yet. Maybe it's also related to the color recycling from #410 ?
Activity
grantmcdermott commentedon Jun 6, 2025
Confirmed, thanks. Stepping through the debugger quickly it looks like the error is the (unnecessary, in this case)
ifacetsubsetting here.tinyplot/R/type_hline.R
Line 24 in 798ab7d
Hopefully an easy fix...