mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Fixed execution of counting.py
This commit is contained in:
parent
48f2a1ec3c
commit
1b125df572
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ from manimlib.mobject.svg.tex_mobject import TexMobject
|
|||
from manimlib.mobject.types.vectorized_mobject import VGroup
|
||||
from manimlib.scene.scene import Scene
|
||||
|
||||
import itertools as it
|
||||
|
||||
class CountingScene(Scene):
|
||||
CONFIG = {
|
||||
|
@ -219,7 +220,7 @@ class CountInTernary(PowerCounter):
|
|||
def construct(self):
|
||||
self.count(27)
|
||||
|
||||
# def get_template_configuration(self):
|
||||
# def get_template_configuration(self, place):
|
||||
# return [ORIGIN, UP]
|
||||
|
||||
|
||||
|
@ -233,7 +234,7 @@ class CountInBinaryTo256(PowerCounter):
|
|||
def construct(self):
|
||||
self.count(128, 0.3)
|
||||
|
||||
def get_template_configuration(self):
|
||||
def get_template_configuration(self, place):
|
||||
return [ORIGIN, UP]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue