examples: fix mpl_plot.py when run as script

This should close vispy issue #631.