test travis for plotting by adding apt-get install python-matplotlib to .travis.yml