examples: fix mpl_plot.py when run as script

This should close vispy issue #631.
Merge pull request #640 from bnewbold/master

examples: fix mpl_plot.py when run as script