Skip to content

Commit 47e6eb3

Browse files
committed
Don't resolve waiver - already done in layer_data
1 parent b73265b commit 47e6eb3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/panel.r

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ train_layout <- function(panel, facet, data, plot_data) {
4545
# @param panel a trained panel object
4646
# @param the facetting specification
4747
# @param data list of data frames (one for each layer)
48-
# @param plot_data default plot data frame
49-
map_layout <- function(panel, facet, data, plot_data) {
48+
map_layout <- function(panel, facet, data) {
5049
lapply(data, function(data) {
51-
if (is.waive(data)) data <- plot_data
5250
facet_map_layout(facet, data, panel$layout)
5351
})
5452
}

0 commit comments

Comments
 (0)