How to create a heat-map with multiple colormaps?
问题 As illustrated below, I am looking for an easy way to combine two or more heat-maps into one, i.e., a heat-map with multiple colormaps. The idea is to break each cell into multiple sub-cells. I couldn't find any python library with such a visualization function already implemented. Anybody knows something (at least) close to this? 回答1: The heatmaps can be drawn column by column. White gridlines can mark the cell borders. import numpy as np from matplotlib import pyplot as plt a = np.random