title: bar plot with different colors in python
body: <p>I have data like this :</p>
  
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt
  index={'A','B','C','D','E'}
  d={'typ':[1,2,2,2,1],'value':[10,25,15,17,13]}
  df=pd.DataFrame(d,index=index)
  </code></pre>
  
  <p>I want to plot the dataframe in horizontal bars with different colors reffering to the column <code>'typ'</code></p>