Fix printing the matplotlib import error message.