COMPAT: matplotlib 1.4.0 version compat (GH8502)

closes #8502