-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Adding hatches changes face color #14639
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
Can you try a range of PDF viewers? This works fine on Apple Preview, and Adobe Acrobat. |
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. |
You're right. The problem is with Foxit Reader. Thanks! |
The file looks fine in Adobe Reader, but the problem exists with Foxit Reader. There must be something wrong with the viewer. Thanks! |
The pdf is also misdisplayed by chromium. |
There are continuously problems with matplotlib generated output on different pdf viewers.
|
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! |
Bug report
Bug summary
Adding hatches results in a change in the face color of bars. The problem occurs when saved as PDF. Everything is ok with png.
Code for reproduction
Actual outcome
Expected outcome
The plot in the pdf file to be the same as the one in png file.
Matplotlib version
print(matplotlib.get_backend())
): Qt5Agg or module://ipykernel.pylab.backend_inline (problem occurs with both)The text was updated successfully, but these errors were encountered: