title: Large number of subplots with matplotlib
body: <p>I would like to create plot with many (100) subplots with Python matplotlib. I cannot find appropriate syntax for it: </p>
  
  <p>I would like something like (this is not working)</p>
  
  <pre><code>plt.subplot(10,10,i,X1, Y) 
  </code></pre>
  
  <p>in a loop with i from 0 to 99, then</p>
  
  <pre><code>plt.show()
  </code></pre>
  
  <p>Syntax is available in many tutorials for case when there are only few subplots. Then, syntax can be</p>
  
  <pre><code>plt.close('all')
  fig = plt.figure()
  
  ax1 = plt.subplot(221)
  ax2 = plt.subplot(223)
  ax3 = plt.subplot(122)
  
  example_plot(ax1)
  example_plot(ax2)
  example_plot(ax3)
  
  plt.tight_layout()
  </code></pre>
  
  <p><a href="http://matplotlib.org/users/tight_layout_guide.html" rel="noreferrer">code is from here</a>.</p>
  
  <p>For my problem, I guess that I cannot use the same syntax, as I would have <code>plt.subplot(10101)</code>, etc., which I don't understand.</p>
  
  <p>Do you have a solution?</p>
  
  <p>Thanks</p>