title: Pandas color bar chart based off dataframe values
body: <p>I'm still rather new to Pandas, and was unable to relate similar problems asked here with what I have.
  I have 3 columns: <code>country, mean, income</code> stored in the dataframe.</p>
  <p>I'm able to create a horizontal bar chart where countries as labeled on the Y axis, and the mean is listed on the X axis. The income field has 4 possible values, and I would like to color each bar based off those values. I'm currently plotting with this and I am not sure how to use the <code>income</code> field to change the color of each bar depending on the income value</p>
  <pre><code>df.sort_values(by=['mean']).plot.barh(x='country', y='mean')
  </code></pre>