'grad_draw' is not defined

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?

No, any warnings

I also tried to check if Cairo is working, and it is fine


I just noticed that the function name is misspelled, and that the error does
not match the code you sent.

you are right

sorry for this stupid post