Skip to content

Commit

Permalink
added scales::alpha(colors, alpha)
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed May 26, 2023
1 parent 6ee1911 commit f6f4d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/voronoi.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ plotVoronoi <- function(
)
)
}
colors <- scales::alpha(colors, alpha)
}
for(i in 1L:ncells){
cell <- tessellation[[i]][["cell"]]
Expand Down

0 comments on commit f6f4d57

Please sign in to comment.