Added custom event processing example

See scripts/example5_mpl.py
Merge remote-tracking branch 'origin/master'