Skip to content

Commit 96a2c8f

Browse files
author
Lindsay Carr
committed
appendLegendColumnInfo --> append_legend_column_info
1 parent 942f075 commit 96a2c8f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

R/legend.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ draw_legend <- function(gsplot) {
9090
if (legend$draw) {
9191
par(xpd=TRUE)
9292

93-
legend <- appendLegendColumnInfo(legend)
93+
legend <- append_legend_column_info(legend)
9494
legend <- appendLegendPositionConfiguration(legend)
9595
# set required legend argument to NA if not exists
9696
if (!"legend" %in% names(legend)) {
@@ -139,7 +139,7 @@ appendLegendPositionConfiguration <- function(legend) {
139139
#' Based on location set legend columns
140140
#'
141141
#' @param legend to set columns on
142-
appendLegendColumnInfo <- function(legend) {
142+
append_legend_column_info <- function(legend) {
143143
location <- legend[['location']]
144144
if (location == "below" || location == "above") {
145145
itemsPerCol <- 3 # TODO load this from config
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)