>> On 11/28/2012 01:43 PM, Rog�rio Brito wrote:
>>> g = graphs.PetersenGraph()
>>> g.plot().save('petersen.png') # generated OK
>>> g.plot().save('petersen.pdf') # also generated OK
>>> g.plot().save('petersen.svg') # not OK
>>
>> The svg graph shows up fine when viewed in my file browser (as a thumbnail),
>> when viewed using display (from imagemagick),
>
> I get the same results when I try to see the file with nautilus (my
> current file browser) or with display/convert from imagemagick. I may
> try graphicsmagick to see if there is any difference, but I'm not that
> hopeful.
>
>> when viewed using feh (uses imlib2),
>
> Just tried feh and it delegates seeing the file to chromium, with a
> message on the terminal saying:
>
> feh WARNING: ./petersen.svg - No Imlib2 loader for that file format
>
>> and when viewed using inkscape.
>
> I posted what I see at:
>
>
http://www.ime.usp.br/~rbrito/petersen-graph/
>
> I would be thankful for any help.
>
>> So, I suspect it is a problem with your viewer.
>
> I wouldn't rule out anything. Just curious: if I understand it
> correctly, the SVG file is generated with matplotlib. How can I try
> the equivalent call above to matplotlib directly?
>
> Thanks for the help so far,
>
Your svg file itself is corrupted. Can you check if you get the correct