try to fix matplotlib issues in travis