remove matplotlib dependency
python2