Skip to content

Commit

Permalink
feat: return plot object for layout randomization
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierMurilloF committed Mar 27, 2024
1 parent 934c9ee commit 2720e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils_S3_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ plot.FielDHub <- function(x, ...) {
)
class(out) <- "fieldLayout"
print(x = out)
return(invisible(list(field_book = out$field_book)))
return(invisible(list(p = out$layout, field_book = out$field_book)))
}
} else stop("x is missing!")
}

0 comments on commit 2720e54

Please sign in to comment.