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
Spikes in small wedges of a pie chart #6828
Comments
Is the PNG generated via SVG as an intermediate step? |
+1 |
No, the png is directly rasterized using Agg. @bronger would you be willing to take a crack at changing that default? |
No, I'm sorry. Although I acknowledge that this is a low-hanging fruit, I would have to dive into matplotlib's source code just for this (never hacked on it). Besides, I found PDF export as a workaround, which is imported by Inkscape loss-less. |
@bronger I think these changes would be limited to the |
I checked this out on mpl 1.5.1 and python 3.5. Setting Edit to add: .eps is slightly distorted at the tip, .ps is badly distored, but .pdf is totally fine. |
Had |
@bronger Nope, |
I don't know what caused it, but the output appears fine when running on the |
Closed as not reproducible. |
The following applies to Python3 + matplotlib 1.5.1.
http://wilson.bronger.org/software.svg exhibits ugly spikes in the small wedges of this pie chart. After importing the SVG into Inkscape, the problem is even worse but can be fixed by changing the style of line vertices to "rounded".
The code is:
The text was updated successfully, but these errors were encountered: