FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

EPS and `usetex` give blank output · Issue #16898 · matplotlib/matplotlib · GitHub

Repository navigation

EPS and usetex give blank output #16898

Closed

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

output-9e7a235-good.pdf

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

Activity

  1. changed the title [-]EPS and `usetex` give output[/-] [+]EPS and `usetex` give no output[/+] on Mar 24, 2020
  2. changed the title [-]EPS and `usetex` give no output[/-] [+]EPS and `usetex` give blank output[/+] on Mar 24, 2020
  3. added this to the v3.2.2 milestone on Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.backend: pstopic: text/usetex

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL