Skip to content

Commit

Permalink
fixes #1303
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Oct 6, 2023
1 parent b5f1bd8 commit 689a579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/plot_vector.R
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ setMethod("dots", signature(x="SpatVector"),
out <- .vect.legend.interval(out, dig.lab=out$dig.lab)
}
} else if (out$legend_type == "depends") {
if (nuq < 11) {
if (!is.null(out$breaks)) {
out <- .vect.legend.interval(out, dig.lab=out$dig.lab)
} else if (nuq < 11) {
out <- .vect.legend.classes(out)
} else if (!is.numeric(out$uv)) {
#if (nuq < 21)
Expand Down

0 comments on commit 689a579

Please sign in to comment.