tune icon indicating copy to clipboard operation
tune copied to clipboard

label testing for plots

Open topepo opened this issue 1 year ago • 2 comments

          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

topepo avatar Oct 23 '24 19:10 topepo

We should convert to using expect_snapshot(ggplot2::get_labs(p)) once the devel version of ggplot2 is out

topepo avatar Oct 23 '24 19:10 topepo

The get_labs() function is included in the recently released hotfix (ggplot2 3.5.2) for forward compatibility reasons such as this.

teunbrand avatar Apr 09 '25 15:04 teunbrand