I've updated the examples, and made it use matplotlib.pyplot.