I am a new user of matplotlib and trying to plot some figures for my publication.
To set the same size I used the following two lines in my code:
#cm=1/2.54