title: How can I assign a color to a specific value in a column of a pandas dataframe?
body: <p>I have a pandas dataframe with 3 columns: state, total, politics. I am trying to use sns.barplot to show a simple plot of each state with the total and color the state based on the value in the 'politics' column. 
  To illustrate, here's the bar chart I want done with Tableau:
  <a href="https://i.stack.imgur.com/WuBAQ.png" rel="nofollow noreferrer">Tableau bar chart - good!</a></p>
  
  <p>However, when I plot in seaborn, I can't seem to figure out how to assign the states with "Red" as their value in the politics column to the actual color red on the graph!
  The color palette seems to randomly assign colors to values, so "Red" states have blue bars, "Blue" states have green bars and "Swing" states have orange bars... it's confusing to the reader!!</p>