title: Matplotlib loop through axes in a seaborn plot for multiple subplots
body: <p>I'd like to create five subplots (one for each category in a specific column of a dataframe) on a seaborn histogram (distplot).</p>
  
  <p>My dataset is:</p>
  
  <pre><code>prog score
  cool 1.9
  cool 3.7
  yay  4.5
  yay  2.6
  neat 1.4
  neat 7
  neat 6
  wow  4.1
  wow  1.7
  wow  1.4
  hooray 6.6
  hooray 5.6
  hooray 4.9
  yikes 1.2
  yikes 3.9
  yikes 6.9
  </code></pre>
  
  <p>I don't want <em>all</em> of the 'prog's plotted, just each in a list:</p>
  
  <pre class="lang-py prettyprint-override"><code>prog_list = ['cool', 'yay', 'neat', 'yikes', 'wow']
  </code></pre>
  
  <pre class="lang-py prettyprint-override"><code>scores = df['score']
  f, axes = plt.subplots(3, 2, figsize=(15, 15))
  # Delete last chart since there are only 5 subplots I need
  f.delaxes(ax = axes[2,1])
  
  for i, axes in enumerate(f.axes):
  scores = df.loc[(df['prog'] == prog_list[i])]['score']
      axes = sns.distplot(scores, norm_hist=True, color='b')
      sigma = round(scores.std(), 3)
      mu = round(scores.mean(), 2)
      axes.set_xlim(1,7)
      axes.set_xticks(range(2,8))
      axes.set_xlabel('Score - Mean: {} (σ {})'.format(mu, sigma))
      axes.set_ylabel('Density')
  </code></pre>
  
  <p>But when I do this, it just plots each subset onto the same plot (which is kind of cool, but definitely not what I want here).</p>
  
  <p><a href="https://i.stack.imgur.com/7L2aN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7L2aN.png" alt="enter image description here"></a></p>