FIX/TST: pil is only needed with older matplotlib
Merge pull request #173 from JanSchulz/pil-fix

FIX/TST: pil is only needed with older matplotlib