DOC: update examples, use matplotlib.pyplot instead of pylab