How to subplot heatmap with side bar in right position?

I agree, itโ€™s a pain.

Could you create a MRE so that we can play around with this?