fixed doc as per the matplotlib conventions

Changed instances of 

    import pylab as pl

into

    import matplotlib.pyplot as plt

and the calls `pl.*` into `plt.*`