I want to save a PyPlot figure as an SVG file with the text in the figure rendered as editable text, not as a path. I read that in Python one can do: plt.rcParams['svg.fonttype'] = 'none'
but the following doesn’t work when I open the resulting SVG in Inkscape. Any help is appreciated!
using PyPlot
plt.rcParams["svg.fonttype"] = "none"
plot(1:10,1:10)
xlabel("text1")
ylabel("text2")
savefig("fig.svg",format="svg")