On 30.11.2016 10:14, attacc wrote:
> Dear all
> 
> I compiled graph-tool 2.19 with gcc 5.4 on linux,
> when I try to use it
> 
> from graph_tool.all import *
> g = Graph()
> v1 = g.add_vertex()
> v2 = g.add_vertex()
> e = g.add_edge(v1, v2)
> graph_draw(g, vertex_text=g.vertex_index,
> vertex_font_size=18,output_size=(200, 200), output="test.png")
> 
> I get the error:
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'grad_draw' is not defined
> 
> any suggestion is welcome
> 

Do you see any warnings when you import graph-tool?


-- 
Tiago de Paula Peixoto <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to