I have exported several images using matplotlib into .pgf files but I am having trouble organizing them together in my latex document. This is the best I can get:
\begin{center}
\begin{tabular}{cc}
\input{toy_gauss.pgf}
&
\input{toy_gauss2.pgf}
\end{tabular}
\label{Fig:gauss}
\end{center}
But this yields one image too big causing the other to be caught off:

Also I tried using \figure env for this type of graphic and they throw errors so that's why I am using tabular here. I really just want two pgf images beside each other. (maybe even having four images in a 2x2 formation but one step at a time.)
\resizebox{\textwidth}{!}{\hbox{\input{a.pgf}\input{b.pgf}}}instead of using a tabular environment? – domperor Jul 30 '20 at 03:58