Don't fall over if matplotlib isn't present