[graph-tool] Drawing on screen

Tiago de Paula Peixoto tiago at skewed.de
Mon Mar 10 10:44:32 CET 2014


On 03/09/2014 09:14 PM, Hang Mang wrote:
> As I understood I can simply call graph_tools.draw.graph_draw(g) and it should get drawn on a screen. But I get this error when I don't specify the 'output' parameter (i.e just call the function with the graph object).
>
> Error:
>
> Couldn't recognize the image file format for file '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/draw/graph-tool-logo.svg

I believe the librsvg library is missing in your system...

    https://www.macports.org/ports.php?by=library&substr=librsvg

Best,
Tiago

-- 
Tiago de Paula Peixoto <tiago at skewed.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20140310/355ac8fe/attachment.asc>


More information about the graph-tool mailing list