Skip to content

Commit a293c55

Browse files
committed
Correct raster visual test. Closes #1348
1 parent 9ea6cc4 commit a293c55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

visual_test/geom-raster.r

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ ggplot(df, aes(x, y, fill = z)) + geom_raster() + geom_point(colour = "red") +
3939
xlim(-2, 2) + ylim(-2, 2)
4040
save_vtest("3 x 1, set limits")
4141

42-
# ggplot(df, aes(x, y, fill = z)) + geom_raster(hpad = 0.25, vpad = 0) +
43-
# geom_point(colour = "red")
44-
# save_vtest("3 x 1, just = (0, 0)")
42+
ggplot(df, aes(x, y, fill = z)) + geom_raster(hjust = 0, vjust = 0) +
43+
geom_point(colour = "red")
44+
save_vtest("3 x 1, just = (0, 0)")
4545

4646
# Categorical fill, irregular swatches ---------------------------------------
4747

0 commit comments

Comments
 (0)