[graph-tool] Error with numpy