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

opacity column is updating by reference when it's a single value #120

Closed
SymbolixAU opened this issue Feb 11, 2019 · 0 comments
Closed

opacity column is updating by reference when it's a single value #120

SymbolixAU opened this issue Feb 11, 2019 · 0 comments
Labels
Upcoming release Issues scheduled for the next release
Milestone

Comments

@SymbolixAU
Copy link
Collaborator

SymbolixAU commented Feb 11, 2019

melbourne$opacity <- 200
mapdeck() %>% 
  add_polygon( data = melbourne, fill_opacity = "opacity")

head( melbourne[, "opacity", drop = F] )
  opacity
1       0
2       0
3       0
4       0
5       0
6       0

It's also defaults to fully transparent if there's only one value. Is this right?

@SymbolixAU SymbolixAU self-assigned this Feb 11, 2019
@SymbolixAU SymbolixAU added this to the v0.2.1 milestone Feb 11, 2019
@SymbolixAU SymbolixAU changed the title opacity column is updating by reference opacity column is updating by reference when it's a single value Feb 11, 2019
@SymbolixAU SymbolixAU added the Upcoming release Issues scheduled for the next release label Feb 12, 2019
SymbolixAU pushed a commit to SymbolixAU/colourvalues that referenced this issue Feb 16, 2019
@SymbolixAU SymbolixAU removed their assignment Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upcoming release Issues scheduled for the next release
Projects
None yet
Development

No branches or pull requests

0 participants