handle ImportErrors for matplotlib
remove matplotlib as install dependency