ENH: check for external matplotlib & use different ("Agg") renderer that should not be dependent on having an X windows display