fixes issue with using transparency for the figure patch and
being able to see shadows of previous draws underneath.

see: http://stackoverflow.com/questions/18944561/matplotlib-pyqt4-transparent-figure

Added some documentation to `paintEvent`
Merge pull request #2449 from tacaswell/qt4_clear_before_draw

Qt4 clear before draw