Skip to content

Commit

Permalink
Add hashed out orientation code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Jul 1, 2024
1 parent 054335d commit d10699d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions R/gg_blanket.R
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,17 @@ gg_blanket <- function(data = NULL,
else y_symmetric <- TRUE
}

# if (rlang::is_null(x_orientation) & rlang::is_null(y_orientation)) {
# if (y_scale_type == "discrete" & x_scale_type != "discrete") x_orientation <- TRUE
# else x_orientation <- FALSE
# }
# else if (!rlang::is_null(x_orientation) & rlang::is_null(y_orientation)) {
# y_orientation <- !x_orientation
# }
# else if (rlang::is_null(x_orientation) & !rlang::is_null(y_orientation)) {
# x_orientation <- !y_orientation
# }

##############################################################################
#abort if necessary
##############################################################################
Expand Down

0 comments on commit d10699d

Please sign in to comment.