Matplotlib doesn't install in travis due to an old version of pip:
Matplotlib 3.0+ does not support Python 2.x, 3.0, 3.1, 3.2, 3.3, or 3.4.
Beginning with Matplotlib 3.0, Python 3.5 and above is required.
This may be due to an out of date pip.
Make sure you have pip >= 9.0.1.
In travis, pip is picked from the python2 virtualenv. Upgrade the it
to the latest version of python2 to fix the issue.
Matplotlib doesn't install in travis due to an old version of pip:
In travis, pip is picked from the python2 virtualenv. Upgrade the it to the latest version of python2 to fix the issue.