I want all of my plots’ box size to be of uniform shape. I want to have same amount of white spaces around my plots with respect to the box borders (in all direction). I’m using bbox_inches=’tight’. But as you can see, by default, matplotlib adjusts the white spaces with respect to the outer most element. In this case, the upper whitespace is adjusted with respect to the 0.0 tick in y-axis. That’s why I’m not getting uniform spacing around the two plots.
I’m not using subplots. I have generated the 2 plots separately and adding them in Microsoft word, in table format. That’s why I need same amount of white spaces with respect to the box borders. I just want, when I put the plot images in the table cells and make them of same size, all the plots’ borders are of equal size.
Is there any way to fix it?
3