-
Beta Was this translation helpful? Give feedback.
Answered by
AndhikaWB
Feb 14, 2026
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
AndhikaWB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Okay, after searching more deeply, I finally got a way to custom sort the color legends by using
alt.Color(scale = alt.Scale(domain = custom_list)), but the Y axis remains unsorted.EDIT2: Using
scaleparameter on bothalt.Yandalt.Colorseems to fix the ordering issue. Still, it's very confusing, many different ways just to sort colors/values.Code: