-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
inconsistent outputs for pdf and png using AnchoredText #19676
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
Comments
I get the layering of the frame in png, and PDF when viewed in Preview on a Mac. Adobe Acrobat, however, does not composite the frame and its interior. This is easier to see if you use a wider frame and different color: Adobe:Preview PDF:PNGI don't know that we can do anything here. Either argument can be claimed "correct" - we choose one thing in Agg, Preview and Okular the same thing, Adobe chooses something different. |
That is likely #10035. |
I agree. I'm closing this as duplicate. |
Bug report
Bug summary
Using savefig to pdf and png, outputs are different.
Code for reproduction
Actual outcome
pdf:
png:
PNG output has extra lines around the text, which is undesired.
Expected outcome
Matplotlib version
import matplotlib; print(matplotlib.__version__)
): 3.3.4print(matplotlib.get_backend())
): Qt5AggThe text was updated successfully, but these errors were encountered: