title: How do I put a frame around multiple figures?
body: <p>My code gives me two images on top of eachother on one page.</p>
  
  <pre><code>\documentclass{article}
  \usepackage{graphicx}
  \graphicspath{ {./images/} }
  
  \begin{document}
  
  \begin{figure}[H]
  \includegraphics{cow1}
  \caption{foo}
  \label{fig:cow1}
  \end{figure}
  
  \begin{figure}[H]
  \includegraphics{cow2}
  \caption{bar}
  \label{fig:cow2}
  \end{figure}
  
  \end{document}
  </code></pre>
  
  <p>I will get this:
  <a href="https://i.stack.imgur.com/n00o3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n00o3.png" alt="enter image description here"></a></p>
  
  <p>I want this:
  <a href="https://i.stack.imgur.com/8fZYT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8fZYT.png" alt="enter image description here"></a>
  How do I get a frame around the figures?</p>