Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make generated pgf code more robust against later changes of tex engine. #26690

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Sep 4, 2023

By moving the conditionals to tex itself, the generated tex code becomes compilable with engines different from the one originally configured; this is similar to the \ifdefined\pdfpagewidth test in PdfPages.savefig.

PR summary

PR checklist

By moving the conditionals to tex itself, the generated tex code becomes
compilable with engines different from the one originally configured;
this is similar to the `\ifdefined\pdfpagewidth` test in
PdfPages.savefig.
@QuLogic QuLogic added this to the v3.9.0 milestone Sep 13, 2023
@QuLogic QuLogic merged commit e65a4e3 into matplotlib:main Sep 13, 2023
40 of 41 checks passed
@anntzer anntzer deleted the pgfany branch September 13, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants