[MRG+1] Updated remaining examples to use pyplot for plotting instead of pylab

These two commits fix the files that were not changed in #3151 . I hope this closes #3109.