python - Failing to export properly to svg and pdf with matplotlib -
i trying save .svg image interactive path editor based on example: path_editor.py. saving png image works fine, when save svg or pdf, paths not exported.
fig.savefig('out.svg')   # missing paths fig.savefig('out.pdf')   # missing paths fig.savefig('out.png')   # ok   is there step in order working svg file in case?
i using matplotlib 1.2.1 python 2.7.
png file: 
svg file: 
update
this apparently bug in matplotlib. created an issue on github project advised @tcaswell.
it indeed bug in matplotlib. patch has been made , issue solved. has been merged in master , 1.2.x.
Comments
Post a Comment