I want to apply different colour maps to different columns of a matplotlib table. Currently I can make one colormap for complete table it doesn't works for me due to extreme values in different columns.
normal = plt.Normalize(np.min(table_vals)-50, np.max(table_vals))
tab = plt.table(cellText=table_vals,
colWidths = [0.1]*3, cellLoc='center',
colLabels=columns, bbox=[-0.6,0,0.5,23], cellColours= plt.cm.RdYlGn(normal(table_vals)))
Is there anyway to specify cellColours
different for different columns?