Skip to content

Commit 1021646

Browse files
authored
Fix partial argument match in guide_train.colorbar. Closes #2779 (#2780)
1 parent 510b4b4 commit 1021646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/guide-colorbar.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ guide_train.colorbar <- function(guide, scale, aesthetic = NULL) {
218218

219219
# bar specification (number of divs etc)
220220
.limits <- scale$get_limits()
221-
.bar <- seq(.limits[1], .limits[2], length = guide$nbin)
221+
.bar <- seq(.limits[1], .limits[2], length.out = guide$nbin)
222222
if (length(.bar) == 0) {
223223
.bar = unique(.limits)
224224
}

0 commit comments

Comments
 (0)