Set matplotlib to Agg backend
Merge pull request #3248 from mdboom/misc/set-matplotlib-backend

Set matplotlib to Agg backend