disable matplot in test.py