Removing Matplotlib dependencies.