import jupyter_manim
COLOR = 'red'
from manimlib.scene.scene import Scene
from manimlib.mobject.geometry import Circle
from manimlib.animation.creation import ShowCreation
import statistics
%%manim Shapes --low_quality
# only to demonstrate that you can use modules imported earlier
# (as well as variables defined beforehand, see COLOR)
statistics.mean([1, 2, 3])
class Shapes(Scene):
def construct(self):
circle = Circle(color=COLOR)
self.play(ShowCreation(circle))