Getting rid of matplotlib