Open SG-phimeca opened 4 years ago
Are you using the latest version, 0.4.1? I have tested the code above while I can't reproduce this issue.
Yes, I use 0.4.1. Maybe some other package should be updated?!
Since I can't reproduce the issue, it's kind of tricky to figure out what goes wrong with your result. But it would be great if we can answer the following questions:
fig._pa
to make sure it is the right parameters being passed?Interesting. If so, Iβm thinking if itβs not the code or package related, but more related to the font or pdf reader. Since you are using a custom font, which might not be included or supported by something.
Installing pycairo and adding matplotlib.use('cairo') before plotting the figure solved the problem.
Good to know that works for you! It does remind me that I have cairo installed on my mac while I didn't switch matplotlib's backend manually.
There seem to be a problem when saving figures as pdf with matplotlib.pyplot.savefig and using the characters argument in Waffle: some characters are replaced by others.
yields the attached file (two snakes instead of a computer and a snake). The computer alone is correctly printed. Inverting the order yields two snakes.
replaced_character.pdf