I looked at the example:
and found the us_states.py and have successfully adapted it to my use case.
My question is - in the example there are five colors specifically chosen:
colors = ["#F1EEF6", “#D4B9DA”, “#C994C7”, “#DF65B0”, “#DD1C77”, “#980043”]
and the rate is later then forced into one of 5 buckets to choose the color:
idx = min(int(rate*100), 5)
Is there a way to not force it to the five colors, but to choose a gradient, then the scores can just go along the color line from 100 to 0 and choose the appropriate color?
Also, wouldn’t this then allow for a key to be place in the plot - is that possible?