Executable scripts for examples

John,
I'd like to request that the matplotlib/examples are made into
executable scripts by adding

#!/usr/bin/env python

as first line for all examples. This benefits Unix users and has no
effect (as far as I know) for non-Unix users.

It can be done for all scripts from the command line with a 'sh' style
shell, using something like:

cd examples
echo "#!/usr/bin/env python" >/tmp/header

for file in *.py; do
    mv $file ${file}.old
    cat /tmp/header ${file}.old > $file
done
# check the new files look OK and delete *.old

Regards
Steve