manim.container.Container

class Container(**kwargs)[source]

Bases: abc.ABC

Abstract base class for several objects used by manim. In particular, both Scene and Mobject inherit from Container.

Parameters

kwargs (Any) –

Methods

add

Abstract method to add items to Container.

remove

Abstract method to remove items from Container.

abstract add(*items)[source]

Abstract method to add items to Container.

Parameters

items (Any) – Objects to be added.

abstract remove(*items)[source]

Abstract method to remove items from Container.

Parameters

items (Any) – Objects to be added.