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: png export

svg file: svg export

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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -