Remove all references to matplotlib from the src files (but not the test)