Dash annotated heatmap

In the heatmap, I have patches of same color, is it possible to create a custom legend for that?