Skip to content

Commit 3d30433

Browse files
teunbrandthomasp85
authored andcommitted
Fix note (#5594)
1 parent 0e3c462 commit 3d30433

File tree

2 files changed

+42
-41
lines changed

2 files changed

+42
-41
lines changed
Lines changed: 40 additions & 39 deletions
Loading

tests/testthat/test-guides.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ test_that("colorbar can be styled", {
949949
p + scale_color_gradient(low = 'white', high = 'red')
950950
)
951951

952-
expect_doppelganger("white-to-red semitransparent colorbar, long thick black ticks, green frame",
952+
expect_doppelganger("customized colorbar",
953953
p + scale_color_gradient(
954954
low = 'white', high = 'red',
955955
guide = guide_colorbar(
@@ -959,7 +959,7 @@ test_that("colorbar can be styled", {
959959
legend.ticks.length = unit(0.4, "npc")
960960
), alpha = 0.75
961961
)
962-
)
962+
) + labs(subtitle = "white-to-red semitransparent colorbar, long thick black ticks, green frame")
963963
)
964964
})
965965

0 commit comments

Comments
 (0)