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?