On this page

VDict

from noon import VDict

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: VGroup, VMobject. Declared members follow; inherited and dynamically attached members are not expanded.

A shared-family vector group with Manim's key-to-mobject access.

VDict.__init__

VDict.__init__(self, mapping_or_iterable: Mapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]]={}, show_keys: bool=False, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mapping_or_iterablepositional or keywordMapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]]{}
show_keyspositional or keywordboolFalse
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration

VDict.add

VDict.add(self, mapping_or_iterable: Mapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]]) -> Self
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mapping_or_iterablepositional or keywordMapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]]No default

Return annotation: Self

No docstring declared here. Consult the source and host reference.

Source declaration

VDict.remove

VDict.remove(self, key: Hashable) -> Self
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
keypositional or keywordHashableNo default

Return annotation: Self

No docstring declared here. Consult the source and host reference.

Source declaration

VDict.get_all_submobjects

VDict.get_all_submobjects(self)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

VDict.add_key_value_pair

VDict.add_key_value_pair(self, key: Hashable, value: VMobject) -> Self
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
keypositional or keywordHashableNo default
valuepositional or keywordVMobjectNo default

Return annotation: Self

No docstring declared here. Consult the source and host reference.

Source declaration