title: python seaborn shows bar plots as same height for different class
body: <p>I want to plot factor plots for my data. I tried doing it the below way but the chart values didn't turn out as expected.</p>
  
  <pre><code>df = pd.DataFrame({'subset_product':['A','A','A','B','B','C','C'],
                     'subset_close':[1,1,0,1,1,1,0]})
  
  prod_counts = df.groupby('subset_product').size().rename('prod_counts')
  df['prod_count'] = df['subset_product'].map(prod_counts)
  g = sns.factorplot(y='prod_count',x='subset_product',hue='subset_close',data=df,kind='bar',palette='muted',legend=False,ci=None)
  plt.legend(loc='best')
  </code></pre>
  
  <p>However, my plots all have the same height, meaning it didn't separate the data into '1' and '0'.</p>
  
  <p><strong>Example:</strong> For <code>A</code>, the blue bar should have height = 1, and the green bar should have height = 2.</p>
  
  <p><a href="https://i.stack.imgur.com/krS0c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/krS0c.png" alt="enter image description here"></a></p>