changed matplotlib backend to backend_gtk3agg to circumvent memory leak of backend_gtk3cairo