-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.backend: pstopic: text/usetex
Milestone
Description
Bug report
Bug summary
Saving EPS files with the usetex=True
option gives a blank output.
Code for reproduction
import matplotlib as mpl
mpl.use('ps')
import matplotlib.pyplot as plt
mpl.rc('text', usetex=True)
fig, ax = plt.subplots()
fig.savefig('output.eps')
Actual outcome
output-200094d4-bad.pdf (converted from eps to pdf using epstopdf)
The EPS file appears to have the incorrect coordinates of the various elements.
Expected outcome
This worked in version 3.1.3, but stopped working in 3.2.0. Git bisect
shows that 200094d introduced the issue.
Matplotlib version
- Operating system: Linux 5.5.11-arch1-1
- Matplotlib version: 3.2.1-1
- Matplotlib backend: ps
- Python version: 3.8.2-1
Matplotlib installed with sudo pacman -S python-matplotlib
xlucn, valentinsulzer and gfadini
Metadata
Metadata
Assignees
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.backend: pstopic: text/usetex