When matplotlib outputs an SVG, each unique character is assigned a
numeric id (these are just assigned in order), and inserted as a def,
and then used (referenced) wherever they are used.
When you paste on SVG into another, those names clash, and Inkscape is
pulling in the wrong characters
On Tue, Mar 25, 2008 at 11:33 PM, Kaushik Ghose [EMAIL PROTECTED] wrote:
Hi Everyone,
I have a peculiar problem, and I wonder if anyone can assist me.
I have two figures generated from matplotlib and saved as svgs. They
both print fine, and they load in Inkscape just fine.
However,
I didn't write the first pass of SVG support, that was done before I got
involved -- I'm not sure who to credit, but he or she deserves most of it.
I did add the feature that's causing grief here -- the embedding of
character outlines directly in the SVG file.
I've committed a change in SVN
Peter I. Hansen wrote:
On Tue, Mar 25, 2008 at 11:33 PM, Kaushik Ghose [EMAIL PROTECTED] wrote:
Hi Everyone,
I have a peculiar problem, and I wonder if anyone can assist me.
I have two figures generated from matplotlib and saved as svgs. They
both print fine, and they load in
For the sake of the list, I'm linking the response to my question on the
Inkscape mailing list -- this is certainly an Inkscape bug, that their
copy-and-paste functionality does not handle use/defs correctly.
However, as the workaround in mpl was easy enough, we don't have to wait
for Inkscape
Hi Everyone,
I have a peculiar problem, and I wonder if anyone can assist me.
I have two figures generated from matplotlib and saved as svgs. They
both print fine, and they load in Inkscape just fine.
However, when I copy one figure and paste it into the other, the pasted
figure's labels and