### Bug report **Bug summary** I was testing #131, and it produces an empty plot now. Removing the `usetex` rc change produces a working plot. **Code for reproduction** ```python import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib import rc rc('text', usetex=True) g1, = plt.plot([1,2,3,4],[500,600,700,800]) g2, = plt.plot([1,2,3,4],[700,300,700,200]) g3, = plt.plot([1,2,3,4],[800,600,900,800]) plt.figlegend([g1,g2,g3],['test1','test2','test3'],'upper left') plt.savefig('image.png') plt.savefig('image.eps') plt.show() ``` Bisect says that it broke at 200094d and #14833. cc @anntzer And a diff shows that the media box is completely wrong: ```diff - <</Type/Page/MediaBox [0 0 460.8 345.6] + <</Type/Page/MediaBox [0 0 5184 5184] ```
Activity
QuLogic commentedon Apr 28, 2020
If I'm not mistaken, #14833 lost
font_preambleandcustom_preamble, but I'm not sure if that's what broke it.tacaswell commentedon Apr 28, 2020
Going to re-open this until we get the fix backported.
QuLogic commentedon Apr 28, 2020
Backport is merged.