Skip to content

Commit

Permalink
potential fix of #375 (cont.)
Browse files Browse the repository at this point in the history
  • Loading branch information
adokter committed Apr 28, 2020
1 parent 65ff541 commit 49e7e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.vpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ plot_wind_barbs <- function(cx, cy, direction = 0, speed = NA,
}
if (fill[i] > 0) {
lim <- c(51, 101, 151, 200)
polygon(c(x, X1[1:lim[fill[i]]]), c(y, Y1[1:lim[fill[i]]]),
polygon(c(as.numeric(x), X1[1:lim[fill[i]]]), c(y, Y1[1:lim[fill[i]]]),
density = -1, col = col
)
}
Expand Down

0 comments on commit 49e7e64

Please sign in to comment.