Closed teunbrand closed 6 months ago
As far as I can tell (and remember), the code paths in ggtext are entirely independent of titleGrob()
in ggplot2. So any changes there should not affect ggtext, unless some very fundamental changes were introduced into how text elements work in themes, and I don't think is the case. So I wouldn't expect any problems, but a check wouldn't hurt.
@bwiernik Are you willing to go through the visual tests and make sure they all look correct with the development version of ggplot2?
Sure
I tested with the dev version of ggplot2 and all appears to be fine, so I'll go ahead and close this.
Hi Claus and Brenton,
This issue is just a heads up that in the dev version of ggplot2, the
titleGrob()
has been refactored. In particular, the function in ggtext's R/add-margins.R might have become obsolete. I tried to see if any visual tests had broken, but wasn't able to verify due to a vdiffr version difference. By eye, nothing looks wrong, but it might be not the worst idea to double-check yourselves against ggplot2's dev version at some point. Feel free to close this issue if all is behaving as expected.