Figure sizes, font sizes, fonts, and more configurations at minimal overhead. Fix your journal papers, conference proceedings, and other scientific publications.
Even though the figsizes delivered by tueplots match the figure sizes in style files exactly, sometimes, figures can be a few pt wider than what latex allows. This is not tueplots fault, but likely due to the optimisation that matplotlib carries out as part of constrained_layout=True or tight_layout=True.
The solution is usually to apply \includegraphics[width=\textwidth] in the latex code (to fix the final few millimeters -- the visual difference is zero), or to set the rel_width parameter (see #84) to rel_width=0.97.
Even though the figsizes delivered by tueplots match the figure sizes in style files exactly, sometimes, figures can be a few pt wider than what latex allows. This is not tueplots fault, but likely due to the optimisation that matplotlib carries out as part of
constrained_layout=True
ortight_layout=True
.The solution is usually to apply
\includegraphics[width=\textwidth]
in the latex code (to fix the final few millimeters -- the visual difference is zero), or to set therel_width
parameter (see #84) torel_width=0.97
.