PDF import creates 500+ level deep groups
When I convert the attached file (generated via matplotlib) to SVG with
inkscape -D mouse-silh.pdf -o /tmp/test.svg
the resulting SVG contains extremely deeply nested elements. Just look for the 500+ lines of </g>
at once. My guess is that these relate to there being 510 samples in the scatterplot.
Converting it with inkscape --pdf-poppler -D mouse-silh.pdf -o /tmp/test.svg
is fine, pdftocairo
and pdf2svg
also work well.
Sample attachments:
resulting SVG:
Version info
Debian package inkscape 1.2.2-2+b1