Modernize Python 2 code to get ready for Python 3 yet again

This commit is contained in:
cclauss
2018-06-02 08:59:26 -04:00
parent 1d23a01a3a
commit f03268d007
121 changed files with 773 additions and 698 deletions

View File

@ -1,3 +1,4 @@
from __future__ import print_function
from big_ol_pile_of_manim_imports import *
from once_useful_constructs.combinatorics import *
@ -72,7 +73,7 @@ class BuildNewPascalRow(Transform):
# align with original (copy got centered on screen)
c1 = new_pt.coords_to_mobs[0][0].get_center()
c2 = mobject.coords_to_mobs[0][0].get_center()
print c1, c2
print(c1, c2)
v = c2 - c1
new_pt.shift(v)