Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 8, 2019

At least in some cases (i.e. locally...), tex appears to treat a first
line of % TeX program = ... passed to its stdin as an empty filename
followed by a comment, leading to a crash ("I can't find file ''").

Fix that by moving the comment to the second line.

Regression in 3.1.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

At least in some cases (i.e. locally...), tex appears to treat a first
line of `% TeX program = ...` passed to its stdin as an empty filename
followed by a comment, leading to a crash ("I can't find file ''").

Fix that by moving the comment to the second line.
@anntzer anntzer added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. backend: pgf labels May 8, 2019
@anntzer anntzer added this to the v3.1.0 milestone May 8, 2019
@jklymak jklymak merged commit ce1c9da into matplotlib:master May 12, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request May 12, 2019
@anntzer anntzer deleted the pgf branch May 12, 2019 08:17
timhoffm added a commit that referenced this pull request May 12, 2019
…167-on-v3.1.x

Backport PR #14167 on branch v3.1.x (Fix backend_pgf header.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: pgf Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants