Matplotlib v1.3 support.