Ramp: unexpected results
See original GitHub issueAfter talking with @makella it’s been clear that ramp()
applies the cartocolor palettes in an “unexpected” way.
I would like confirmation about how this should be managed before implementing it. I think there are multiple issues with ramp()
so I’m just gonna propose the future behavior.
Forgive me for the programmer-like way of asking this but I hope it’s the clearest way to define the expected behavior.
if palette is cartocolor then
if input contains "others" bucket then
apply cartocolor subscheme
else if input doesn't contain ''others" bucket then
if cartocolor has "qualitative" tag then
apply cartocolor subscheme with one extra bucket to ignore the last bucket
else if cartocolor doesn't have "qualitative" tag then
apply cartocolor subscheme
if input is numeric then
activate linear interpolation between colors, taking the cartocolor with most buckets
else if input is category then
don't activate linear interpolation between colors
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Pioneer with Poncelet - Unexpected Ramp - TCGplayer Infinite
I've got just what you need! It's a ramp deck featuring Unexpected Results to power out game-ending threats as early as turn three!...
Read more >Magic Online - Pioneer - Unexpected Results Ramp - Reddit
Magic Online - Pioneer - Unexpected Results Ramp ... A spicy list from the MTGO leagues! How does it hold up? Weeelllll.... Here's...
Read more >Instant Deck Tech: Unexpected Results (Modern) - YouTube
Instant Deck Tech time! It's wildcard Wednesday here in Instant Deck Tech land and today's deck is certainly wild. The plan is to...
Read more >≫ MTG Unexpected Results card prices and decks December ...
Unexpected Results MTG Prices. [GTC]. Gatecrash ... Unexpected Results Shuffle your library, then reveal the top card. If it's a nonland. Other Versions...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@davidmanzanares I can’t provide much technical detail, but we did experience something similar with TurboCARTO (not sure if it is at ALL related! but wanted to share nonetheless.) https://github.com/CartoDB/turbo-carto/issues/38
@davidmanzanares tested over a couple of examples, and looks to be fixed! thanks!