tune
tune copied to clipboard
label testing for plots
Hi Max, thanks for keeping vigilant and up to date! If you want to continue to test the labels, we also implemented an accessor (https://github.com/tidyverse/ggplot2/pull/6078) for exactly this reason.
Originally posted by @teunbrand in https://github.com/tidymodels/tune/issues/951#issuecomment-2432981363
We should convert to using expect_snapshot(ggplot2::get_labs(p)) once the devel version of ggplot2 is out
The get_labs() function is included in the recently released hotfix (ggplot2 3.5.2) for forward compatibility reasons such as this.