Use non-interactive backend for matplotlib