Restricted Travis CI matplotlib version to 1.3.1