I need to create a histogram using matplotlib that decides the height of the bar using the value provided instead of frequencies.
Eg-list=[27,28,13,56,43] contains people opted for a particular subject.
should generate a histogram that has values 27,28,13,56,43 on y axis(or range of values like 0-10,10-20 ....) and on x-axis , the names of the subject.Since,I'm a newbie,I don't know what to do?
pylab.xlabel("Topics")
bins=range(0,100,1)
pylab.ylabel("Number of people interested")
pylab.hist(result,bins)
results in
histogram divided with frequencies
please help