Closed avehtari closed 9 months ago
Thanks for reporting; fixed now. As far as I can tell, this seemed to be a long-standing bug (I was able to track it down at least until commit https://github.com/stan-dev/projpred/commit/b05a8f41dd14a6bac6363b6462b394467f253167), so if you haven't experienced this bug before, then your last version of the candy case study (I think https://github.com/avehtari/modelselection/blob/ad0e10ce7d3a47de560609db7abe83777eed28bc/candy.Rmd is still at the old state) was probably using an even older projpred version. I'm just saying this because I was curious where the bug was introduced and if additional changes would have been necessary. But I think the fix from commit fc5d68f6265d56b7bef0d2fa93e6971db9fe23d2 should be fine.
See, e.g., here https://users.aalto.fi/~ave/modelselection/candy.html, there is an extra x tick label 12
Another example with a gap before the last tick label
Might be related to using text_angle