Charting data from our tables using matplotlib - How to draw a line graph with matplotlib