sort_submobject -> sort and shuffle_submobjects -> shuffle

This commit is contained in:
Grant Sanderson
2019-02-04 15:02:32 -08:00
parent 8f556ffb89
commit eb0c63606d
24 changed files with 62 additions and 56 deletions

View File

@ -1880,7 +1880,7 @@ class EulersFormulaForGeneralPlanarGraph(LightUpNodes, ThreeDScene):
self.play(FadeOut(self.vertices))
self.play(ReplacementTransform(regions, cube, run_time = 2))
cube.sort_submobjects(lambda p : -p[2])
cube.sort(lambda p : -p[2])
self.add(ContinualRotation(cube, axis = UP, in_place = False))
self.wait(3)
self.play(