I am new to matplotlib and I am trying to use it in pandas to build some simple diagrams. I have a DataFrame that contains two score and person labels derived from another DF.
df1 = DataFrame(df, columns=['score','person'])
Producing this conclusion:

I am trying to create a simple histogram to show each person in a different color, and this is what I still have:
df1.plot(kind='bar', title='Ranking')

How can I set it up so that the diagram displays the names of people along the x axis with unique colors and removes the "frame" around the figure? How can I make this a horizontal bar graph?
Thanks in advance for your help.
python matplotlib pandas
Luis miguel
source share