Skip to content

Commit 97700df

Browse files
Use stored value of missing(nbreaks)
1 parent 3362108 commit 97700df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ plot.sf <- function(x, y, ..., main, pal = NULL, nbreaks = 10, breaks = "pretty"
126126
nbreaks = length(breaks) - 1
127127
}
128128
}
129-
if (missing(nbreaks) && is.numeric(breaks))
129+
if (nbreaks.missing && is.numeric(breaks))
130130
nbreaks = length(breaks) - 1
131131

132132
# loop over each map to plot:

0 commit comments

Comments
 (0)