remove matplotlib initialization