You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
PNG
I 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.
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: