attacc
(attacc)
1
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
regards
Claudio
tiago
(Tiago Peixoto)
2
Do you see any warnings when you import graph-tool?
attacc
(attacc)
3
No, any warnings
I also tried to check if Cairo is working, and it is fine
cla
tiago
(Tiago Peixoto)
4
I just noticed that the function name is misspelled, and that the error does
not match the code you sent.
attacc
(attacc)
5
you are right
sorry for this stupid post
claudio