The examples in this book are written for Matplotlib 1.2 and Python 2.7 or 3.
Most examples rely on NumPy and SciPy. Some examples require SymPy, while some other examples require LaTeX.