title: How can I add a title to each subplot in an ImageGrid and a single xlabel/ylabel for the entire figure?
body: <p>I've created the following figure using <code>mpl_toolkits.axes_grid1</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/M2FLy.png" alt="enter image description here"></p>
  
  <p>For some reason, however, my subplot titles aren't appearing.  How can I go about fixing this?</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code># import 
  from mpl_tookits.axes_grid1 import ImageGrid
  from matplotlib.pyplot import *
  
  fig = figure(figsize=(20, 12), dpi=300)
  grid = ImageGrid(fig, 111, nrows_ncols=(3, 4), axes_pad=1, aspect=False)
  for gridax, (i, sub) in zip(grid, enumerate(eyelink_data)):
      subnum = i + start_with
  
       # format data
      xdat = sub['x'][(sub['in_trl'] == True) &amp; (sub['x'].notnull()) &amp; (sub['y'].notnull())]
      ydat = sub['y'][(sub['in_trl'] == True) &amp; (sub['x'].notnull()) &amp; (sub['y'].notnull())]
  
      # plot
      gridax.hist2d(xdat, ydat, bins=[np.linspace(-.005, .005, num=1000), np.linspace(-.005, .005, num=1000)])
      gridax.plot(0, 0, 'ro')  # origin
  
      title('Subject {0} in-Trial Gaze'.format(subnum))
      xlabel('Horizontal Offset\n(degrees visual angle)')
      ylabel('Vertical Offset\n(degrees visual angle)')
  
  show()
  </code></pre>
  
  <p>P.S.:  enjoy the <a href="http://en.wikipedia.org/wiki/Grid_illusion" rel="nofollow noreferrer">grid illusion</a>!</p>