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
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mapping_or_iterable | positional or keyword | Mapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]] | {} |
show_keys | positional or keyword | bool | False |
kwargs | **kwargs | Any | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.
VDict.add
VDict.add(self, mapping_or_iterable: Mapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]]) -> Self
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mapping_or_iterable | positional or keyword | Mapping[Hashable, VMobject] | Iterable[tuple[Hashable, VMobject]] | No default |
Return annotation: Self
No docstring declared here. Consult the source and host reference.
VDict.remove
VDict.remove(self, key: Hashable) -> Self
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
key | positional or keyword | Hashable | No default |
Return annotation: Self
No docstring declared here. Consult the source and host reference.
VDict.get_all_submobjects
VDict.get_all_submobjects(self)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
VDict.add_key_value_pair
VDict.add_key_value_pair(self, key: Hashable, value: VMobject) -> Self
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
key | positional or keyword | Hashable | No default |
value | positional or keyword | VMobject | No default |
Return annotation: Self
No docstring declared here. Consult the source and host reference.