Plotted data using matplotlib