Upgrade to matplotlib 1.4.0