small changes to the matplotlib chapter