This PR fixes a failing test on matplotlib-3.2.2, which has updated TeX text formatting compared to 3.2.1.