You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trac #22349: Deprecate sorting of Graph vertices and edges by default
Why does `Graph.vertices()` need to ''sort'' the list of vertices? If
the user wants a sorted list, they can always call `sorted()` anyway.
The same for `Graph.edges()`.
Sorting is broken badly now that #22029 is merged.
URL: https://trac.sagemath.org/22349
Reported by: jdemeyer
Ticket author(s): John Palmieri, David Coudert
Reviewer(s): David Coudert, John Palmieri
sage: G.show3d(vertex_size=0.03, edge_size=0.01, edge_size2=0.02, vertex_colors={(1,1,1):G.vertices()}, bgcolor=(0,0,0), color_by_label=True, xres=700, yres=700, iterations=200) # long time (less than a minute)
206
+
sage: G.show3d(vertex_size=0.03, edge_size=0.01, edge_size2=0.02, vertex_colors={(1,1,1):G.vertices(sort=True)}, bgcolor=(0,0,0), color_by_label=True, xres=700, yres=700, iterations=200) # long time (less than a minute)
0 commit comments