You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a data set with coordinates and signal level values for each coordinates. When I display it in geographic view, I assign to color for each specific group. However I cannot select the color individually, I need to select a color schema. Even I select the the color schema it does not assign the same colors, it sorts the values based on counts then assigns the colors based on this sorting. How can I assign specific color to each individual range? I need quick help to guide me through that project, any help appreciated.
The text was updated successfully, but these errors were encountered:
Thanks for answer but I want to adjust colors individually like that:
def categorize_colors(value):
match value:
case value if value >= 25:
return [0, 0, 255] # Blue
case value if value >= 20:
return [75, 0, 130] # Indigo
case value if value >= 15:
return [138, 43, 226] # BlueViolet
case value if value >= 10:
return [218, 112, 214] # Orchid
case value if value >= 5:
return [255, 105, 180] # HotPink
case value if value >= 0:
return [255, 69, 0] # OrangeRed
case value if value >= -2:
return [255, 0, 0] # Red
case _:
return [128, 0, 0] # Maroon
I have a data set with coordinates and signal level values for each coordinates. When I display it in geographic view, I assign to color for each specific group. However I cannot select the color individually, I need to select a color schema. Even I select the the color schema it does not assign the same colors, it sorts the values based on counts then assigns the colors based on this sorting. How can I assign specific color to each individual range? I need quick help to guide me through that project, any help appreciated.
The text was updated successfully, but these errors were encountered: