The two pictures are too similar to have right next to each other, therefore additional spacing is preferred. The code is as follows:
\begin{figure}
\centering
\begin{subfigure}[b]{0.35\textwidth}
\includegraphics[width=\textwidth]{1_0.png}
\caption{1}
\label{fig:table2}
\end{subfigure}
\begin{subfigure}[b]{0.35\textwidth}
\includegraphics[width=\textwidth]{1_4.png}
\caption{2}
\label{fig:table2}
\end{subfigure}
\caption{Tabels}\label{fig:animals}
\end{figure}