Merge pull request #944 from Lalourche/fix-counting

Fixed execution of counting.py
This commit is contained in:
鹤翔万里 2021-07-17 22:19:23 -05:00 committed by GitHub
commit 45938dd76f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ from manimlib.mobject.svg.tex_mobject import Tex
from manimlib.mobject.types.vectorized_mobject import VGroup from manimlib.mobject.types.vectorized_mobject import VGroup
from manimlib.scene.scene import Scene from manimlib.scene.scene import Scene
import itertools as it
class CountingScene(Scene): class CountingScene(Scene):
CONFIG = { CONFIG = {
@ -219,7 +220,7 @@ class CountInTernary(PowerCounter):
def construct(self): def construct(self):
self.count(27) self.count(27)
# def get_template_configuration(self): # def get_template_configuration(self, place):
# return [ORIGIN, UP] # return [ORIGIN, UP]
@ -233,7 +234,7 @@ class CountInBinaryTo256(PowerCounter):
def construct(self): def construct(self):
self.count(128, 0.3) self.count(128, 0.3)
def get_template_configuration(self): def get_template_configuration(self, place):
return [ORIGIN, UP] return [ORIGIN, UP]