Because you constructed a “GraphBase” object and not a “Graph” object. “GraphBase” is internal and should not be used directly.
-- T. On Sunday, 23 February 2014 at 21:50, Salvatore Palomino wrote: > When I do the same to my graph (g, undirected, V = 101, E = 10100), it gives > me an error. > > <<< type(g.es (http://g.es)) > AttributeError: 'igraph.Graph' object has no attribute 'es' > > > > On Sun, Feb 23, 2014 at 12:25 PM, Tamás Nepusz <[email protected] > (mailto:[email protected])> wrote: > > > .es[] is included in which package? > > > > > > .es is a standard attribute of any graph object in the Python interface of > > igraph: > > > > > > > from igraph import Graph > > > > > g = Graph.Famous(“petersen”) > > > > > type(g.es (http://g.es)) > > > > > > > > > > > igraph.EdgeSeq > > > > — > > T. > > > > > > > > _______________________________________________ > > igraph-help mailing list > > [email protected] (mailto:[email protected]) > > https://lists.nongnu.org/mailman/listinfo/igraph-help > > > _______________________________________________ > igraph-help mailing list > [email protected] (mailto:[email protected]) > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
