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
xkcd plots rendered as regular plots on Mac OS X #5442
Comments
Does switching backends help? |
Yes, if I save the plot as pdf or use CocoaAgg backend, it looks right. It looks like the default MacOSX backend has a problem. |
@mario-grgic Is regression from 1.4.3? attn @mdehoon |
It's not a regression. It doesn't work with the OSX backend in 1.4.3 either. |
In 1.4.3 xkcd plots failed with error described in Issue #5049. |
With matplotlib 1.5.0 using the gtkcairo backend, the xkcd plots also render as regular plots. @mario-grgic can you identify exactly where in the xkcd code the difference between agg/pdf and macosx/gtkcairo occurs? |
The "sketched line" functionality happens in the path iterator code ( The Cairo backend is different -- since it's currently 100% Python (outside of the third-party Cairo wrapper), it doesn't use the path iterator code. Doing so would require a lot more overhead, but it's doable, and we do actually already expose the path iterators to Python through |
@mdboom OK, when you're done, I can have have a look at the macosx backend side of things. |
Fixed by #6178. |
This is with Python 2.7.10 and matplotlib 1.5.0 on Mac OS X 10.11.1. All xkcd plots render as regular plots.
The text was updated successfully, but these errors were encountered: