I am producing a publication-quality plot to be embedded in latex and I would like to be very precise in terms of sizes and fonts (so that fonts are of the same size in the
I have the same problem making matplotlib plots for LaTeX. Since my plots did not allow to use tight_layout, giving this warning, I ended up using fig.subplots_adjust(bottom=bottom_pos, top=top_pos, left=left_pos, right=right_pos). See this tutorial.
It requires manually finding the best values for bottom_pos etc. but in my case it seems to be the only possibility to get images without much whitespace not changing the figure size of the output.