COMPAT: matplotlib 1.4.0 version compat (GH8502)
Merge pull request #8504 from jreback/mpl_fix

COMPAT: matplotlib 1.4.0 version compat (GH8502)