Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha parameter of polys() doesn't work #1413

Closed
dfriend21 opened this issue Jan 29, 2024 · 1 comment
Closed

alpha parameter of polys() doesn't work #1413

dfriend21 opened this issue Jan 29, 2024 · 1 comment

Comments

@dfriend21
Copy link
Contributor

The alpha parameter of polys() isn't working - below is an example demonstrating that alpha works for plot() but not for polys().

library(terra)
#> terra 1.7.65
v <- vect(system.file("ex/lux.shp", package = "terra"))

# works
plot(v, col = "red", alpha = .1)

# doesn't work
plot(ext(v), border = "transparent")
polys(v, col = "red", alpha = .1)

Created on 2024-01-29 with reprex v2.0.2

@rhijmans
Copy link
Member

Fixed, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants