Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 1 year ago

FrédéricC gravatar image

Do not mix strings and numbers in the labels of your graph. Make all of them strings, for instance. Or use sage: G.vertices(sort=False) ['a', 1]

click to hide/show revision 2
No.2 Revision

Do not mix strings and numbers in the labels of your graph. Make all of them strings, for instance. instance.

Or use use

sage: G.vertices(sort=False)
['a', 1]