Charting data from our tables using matplotlib - How to draw a bar chart with matplotlib