Matplotlib compatibility cleanup

Removes a few cases of backwards-compatibility for versions of Matplotlib that we no longer support.