title: python merging pictures together using pyplots
body: <p>I am trying to tile the image to form 4 quadrants so that my image looks something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/mHVpK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mHVpK.png" alt="enter image description here"></a></p>
  
  <p>However, my images come out to be something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/ztCXx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ztCXx.png" alt="enter image description here"></a></p>
  
  <p>Here is what I did in terms of coding:</p>
  
  <pre><code>from matplotlib import pyplot as plt
  
  f, ax = plt.subplots(2,2)
  ax[0,0].imshow(image1)
  ax[1,0].imshow(image2)
  ax[0,1].imshow(image3)
  ax[1,1].imshow(image4)
  plt.show()
  #assuming image1~4 are different images
  </code></pre>
  
  <p>How can I merge them into a single 20x20 pixel image if each images are 10x10 pixel image?</p>