try running matplotlib non-interactively to avoid errors on travis