python
matplotlib draw heatmap figure with colorbar
here is the sample code for drawing a single axis in a figure. The above is the result. I have tried to create several subplots and add heatmap to each one with individual colorbars on its side, but it seems this is hard to implement.