How to plot 2d histogram with the same scale!!

Hi all,

I want to use contourf function in matplotlib to plot 2D free energy histogram for my research. I have 2 plots and want them have the same colorbar scale so that I could compare the minima or maxima. I’ve been looking at colorbar doc but i can not find a solution. I always gets 2 different colorbar scale.

Thanks for your reply and have a good day.

Regards

HNN