Skip to content

Commit

Permalink
closes wilkelab#161
Browse files Browse the repository at this point in the history
- merged to master
- rebuilt documentation
- added visual test
- validated visual test
  • Loading branch information
BrianLang committed Aug 19, 2020
1 parent 01a4952 commit b24613a
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/figs/deps.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- vdiffr-svg-engine: 1.0
- vdiffr: 0.3.0
- vdiffr: 0.3.2.2
- freetypeharfbuzz: 0.2.5
82 changes: 82 additions & 0 deletions tests/figs/plot-grid/colwise-arranging.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions tests/testthat/test_plot_grid.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ test_that("basic plot arranging works", {
expect_doppelganger("scaling plots",
plot_grid(p1, p2, p3, labels = "AUTO", scale = c(.9, .7, .5), nrow = 1) + theme_map() # add theme_map() for plot title
)

expect_doppelganger("colwise arranging",
plot_grid(p1, NULL, p2, NULL, p3, NULL, byrow = FALSE) + theme_map()
) # add theme_map() for plot title
})


Expand Down

0 comments on commit b24613a

Please sign in to comment.