plotting observations using matplotlib