I saw JohanC's answer here:
How to set fixed color ranges with Seaborn heatmap?
When I made my plot, I had two types of cells that I needed to highlight: those with fixed values (e.g.,0 and 1), and those that varied within a range (e.g., 9-200). For the first type, fixed colors look nice. For the second type, a standard colorbar looks nice. Is there a way to have both, i.e., specify a set of cells to conditionally use fixed colors and if they go above a certain value, use a colorbar to color them?
Thanks, Michael
sns.heatmap(np.clip(np.random.rand(21, 12) - 0.1, 0, 1)*100)
plt.show()
