Now works with older matplotlib.