Subplots and customize colorbar

Ok I found a workaround to solve my problem :

I created a color map :

colorMap = {
        1:'rgb(16,50,141)',
        2:'rgb(23,97,93)',
        3:'rgb(63,165,23)',
        4:'rgb(159,179,12)',
        5:'rgb(228,188,3)',
        6:'rgb(253,186,0)',
        7:'rgb(221,87,0)',
        8:'rgb(200,25,0)',
        9:'rgb(166,0,28)',
        10:'rgb(119,0,77)',
        11:'rgb(69,0,129)',
        12:'rgb(30,0,170)',
        }

And just maping it with the color properties of the markers :

color = colorMap[point['date'].month]

And for the colorbar I used this workaround :

Sometimes no need of seeking too much complexity :upside_down_face:

1 Like