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
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@skewed.de>
participants (2)
-
Hang Mang -
Tiago de Paula Peixoto