To run scripts from a notebook matplotlib.