I have a matrix , and I used sns for visualizing it, However , what I wish is : if the value is anything less than 0, it should be blue, if its in range of 0.0-0.99 it should be grey and anything above 1, should be pink,
I tried as mentioned, but i am not sure how to tackle negative values, I followed this : How to set fixed color ranges with Seaborn heatmap?
and the code that I generally used is:
plt.figure(figsize = (16,16))
sns.heatmap(p, annot=True, square=True)
Can anyone please suggest, how can I achieve this? Thank you in advance.