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
There are continuously problems with matplotlib generated output on different pdf viewers.
One thing I found to often work nicely is to save pdfs via svg and convert to pdf with inkscape.
It's unclear if the PDF we generate is broken but handled gracefully by some viewers, or if we comply with the spec and the viewers are buggy. But to find out, somebody with experience in the PDF specification would be required.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
jklymak commentedon Jun 26, 2019
Can you try a range of PDF viewers? This works fine on Apple Preview, and Adobe Acrobat.
timhoffm commentedon Jun 27, 2019
Generated with 3.1: hbarplot.pdf
This file is displayed correctly in Okular and Adobe Reader.
@SMZ70 you can download this file and cross-check with your PDF viewer.
SMZ70 commentedon Jun 27, 2019
You're right. The problem is with Foxit Reader. Thanks!
SMZ70 commentedon Jun 27, 2019
The file looks fine in Adobe Reader, but the problem exists with Foxit Reader. There must be something wrong with the viewer. Thanks!
anntzer commentedon Jun 27, 2019
The pdf is also misdisplayed by chromium.
OTOH mplcairo generates a pdf that chromium reads fine.
ImportanceOfBeingErnest commentedon Jun 27, 2019
There are continuously problems with matplotlib generated output on different pdf viewers.
One thing I found to often work nicely is to save pdfs via svg and convert to pdf with inkscape.
timhoffm commentedon Jun 27, 2019
It's unclear if the PDF we generate is broken but handled gracefully by some viewers, or if we comply with the spec and the viewers are buggy. But to find out, somebody with experience in the PDF specification would be required.
github-actions commentedon Jun 21, 2023
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!