title: Apply global settings to all subplots in pyplot
body: <p>This is related to <a href="https://stackoverflow.com/questions/12946521/matplotlib-subplots-with-same-settings">this</a> and <a href="https://stackoverflow.com/questions/7526625/matplotlib-global-legend-and-title-aside-subplots">this</a> question.</p>
  
  <p>I have a sequence of figures and subplots that have all very similar settings. However, I can't seem to find a way to set them all at the same time. Here's a simplified version (I generally work with more instances):</p>
  
  <pre><code>fspec = plt.figure(1)
  spC = fspec.add_subplot(211)
  spC.set_title('Surface concentrations')
  spC.grid(True)
  spC.set_ylim(1e-3, None)
  spT = fspec.add_subplot(212, sharex=spC)
  spT.set_title('Surface temperature')
  spT.grid(True)
  spT.set_ylim(1e-3, None)
  
  fener = plt.figure(2)
  enC = fener.add_subplot(211)
  enC.set_title('Surface concentrations')
  enC.grid(True)
  enC.set_ylim(1e-3, None)
  enT = fener.add_subplot(212, sharex=enC)
  enT.set_title('Surface temperature')
  enT.grid(True)
  enT.set_ylim(1e-3, None)
  </code></pre>
  
  <p>I feel like there should be a way to apply something to every subplot open, or AT LEAST every subplot in a figure. Something like</p>
  
  <pre><code>fspec.set_global_grid(True)
  fspec.set_global_ylim(1e-3, None)
  </code></pre>
  
  <p>But I can't find it.</p>
  
  <p>I took a look at some of the previous but none of them seem to work for me, since I don't work with one figure or axis at a time, I work with all of them kind of at the same time.</p>
  
  <p>Cheers.</p>