Use SciPy to plot exercise 2.17