-
Notifications
You must be signed in to change notification settings - Fork 594
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
Black background when plotting brains in PDF #870
Comments
Just checking the original test.pdf is fine, right? |
That depends. If you try to print it, it should be black. I just provided a Alex. On Wed, Dec 2, 2015 at 3:02 PM, Loïc Estève notifications@github.com
|
Just checking the original test.pdf is fine, right?
Yes, but if you send it to a printer, it prints like the thing output by
inkscape :(.
Inkscape is just a way of reproducing without relying on a printer.
|
OK that makes slightly more sense now, thanks. |
This patch solves the problem: https://github.com/matplotlib/matplotlib/pull/4595/files It is hardly backportable. |
It is hardly backportable.
Darn, matplotlib has compiled code, so we cannot put it in externals.
|
At least it looks like the fix is in matplotlib 1.5.0: https://github.com/matplotlib/matplotlib/blob/v1.5.0/lib/matplotlib/tests/test_backend_pdf.py#L126. |
Yes, the bug is solved in 1.5 |
Maybe we should close this one, since we are not planning to do anything about it. |
I am actually trying to solve it right now. |
I am actually trying to solve it right now.
He is going to solve it. You have no idea!
|
For the record, I tried to backport the PDF backend from matplotlib 1.5.0 into 1.4.3 but there are too many modifications. So I tried to apply the patch mentioned above and, for some reason, it doesn't work. I'm a bit helpless :-/ on this one. |
not sure whether this issue persists. No one complained for a while, will check when i have time |
tried it now, I can reproduce the issue |
Can reproduce |
Steps to reproduce:
test.pdf
using Inkscape.test_.pdf
test_.pdf
in evince: the background appears black.The text was updated successfully, but these errors were encountered: