This works as intedeed
from graph_tool.all import *
g = Graph()
g.add_vertex()
g.add_vertex()
graph_draw(g)
But this doesn't
from graph_tool.all import *
g = Graph()
g.add_vertex()
g.add_vertex()
g.add_vertex()
graph_draw(g)
[1] 4657 segmentation fault (core dumped) python3 x.py
The segmentation fault appears also if I do
g.add_vertex(3) and then plot with graph_draw.
But works with g.add_vertex(5) (also using 4 cause it to seg fault).