Skip to content

Commit f4d5b37

Browse files
authored
Update plot.R
Sorry about that.
1 parent 028fc6a commit f4d5b37

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
@@ -117,7 +117,7 @@ plot.sf <- function(x, y, ..., main, pal = NULL, nbreaks = 10, breaks = "pretty"
117117
values = as.factor(values)
118118
if (logz)
119119
values = log10(values)
120-
if (is.character(breaks) && is.numeric(values))) { # compute breaks from values:
120+
if (is.character(breaks) && is.numeric(values)) { # compute breaks from values:
121121
v0 = values[!is.na(values)]
122122
n.unq = length(unique(v0))
123123
breaks = if (! all(is.na(values)) && n.unq > 1)

0 commit comments

Comments
 (0)