row_labels = list(range(nrows))
col_labels = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I']
plt.matshow(image)
plt.xticks(list(range(ncols)), col_labels)
plt.yticks(list(range(nrows)), row_labels)
plt.show()
custom matplotlib plot : chess board like table with colored cells