Skip to content

Commit c63a777

Browse files
committed
add scope
1 parent d0d97de commit c63a777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/plot_hist_f.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ plot_hist <- function(raster, bins, palette, name, logger = NULL) {
6060
histogram$density <- histogram$counts / sum(histogram$counts) * 100
6161

6262
pal <- RColorBrewer::brewer.pal(9, palette)
63-
pal_ramp <- colorRampPalette(c(pal[1], pal[9]))
63+
pal_ramp <- grDevices::colorRampPalette(c(pal[1], pal[9]))
6464
hist_cols <- pal_ramp(bins)
6565

6666
function(){plot(histogram, freq = F, main = "", xlab = name, ylab = "Frequency (%)", col = hist_cols)}

0 commit comments

Comments
 (0)