Improvemnts in the compatibility with older versions of matplotlib (<1.2.1).