diff --git a/R/zzz.R b/R/zzz.R index cf2eb1c72f75cd60bbaafe18dddb6913d2d316ae..3a43b40d431e349a926bf34d8b30d69833e65a38 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -110,7 +110,7 @@ GradientCatsColorBar <- function(nmap, brks = NULL, cols = NULL, vertical = TRUE bar_limits, var_limits = NULL, triangle_ends = NULL, col_inf = NULL, col_sup = NULL, plot = TRUE, draw_separators = FALSE, - bar_titles = NULL, title_scale = 1, label_scale = 1, extra_margin = rep(0, 4), + bar_titles = NULL, title_scale = 1, bar_label_scale = 1, bar_extra_margin = rep(0, 4), ...) { # bar_limits: a vector of 2 or a list @@ -236,7 +236,7 @@ GradientCatsColorBar <- function(nmap, brks = NULL, cols = NULL, vertical = TRUE triangle_ends = triangle_ends, col_inf = col_inf[[k]], col_sup = col_sup[[k]], plot = TRUE, draw_separators = draw_separators, title = bar_titles[[k]], title_scale = title_scale, - label_scale = label_scale, extra_margin = extra_margin) + bar_label_scale = bar_label_scale, bar_extra_margin = bar_extra_margin) } } else { return(list(brks = brks, cols = cols, col_inf = col_inf, col_sup = col_sup))