Creating basic charts with Matplotlib