avoid matplotlib to pop up when running tests