title: How to make more than 10 subplots in a figure?
body: <p>I am trying to make a 5x4 grid of subplots, and from looking at examples it seems to me that the best way is:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  plt.figure()
  plt.subplot(221)
  </code></pre>
  
  <p>where the first two numbers in the subplot (22) indicate that it is a 2x2 grid and the third number indicates which one of the 4 you are making. However, when I tried this I had to go up to:</p>
  
  <pre><code>plt.subplot(5420)
  </code></pre>
  
  <p>and I got the error:</p>
  
  <pre><code>ValueError: Integer subplot specification must be a three digit number.  Not 4
  </code></pre>
  
  <p>So does that mean you cannot make more that 10 subplots, or is there a way around it, or am I misunderstanding how it works?</p>
  
  <p>Thank you in advance.</p>