Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/manim_data_structures/m_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@utils.exclude_from_deepcopy("_MArrayElement__scene")
class MArrayElement(VGroup):
class MArrayElement(VMobject):
"""A class that represents an array element.

Parameters
Expand Down Expand Up @@ -644,7 +644,7 @@ def swap_with_elem(


@utils.exclude_from_deepcopy("_MArray__scene")
class MArray(VGroup):
class MArray(VMobject):
"""A class that represents an array.

Parameters
Expand Down Expand Up @@ -1688,10 +1688,10 @@ def swap_elems(

anim: CyclicReplace = None
if swap_body:
group_1 = VGroup(
group_1 = VMobject(
swap_elem_1.fetch_mob_body(), swap_elem_1.fetch_mob_value()
)
group_2 = VGroup(
group_2 = VMobject(
swap_elem_2.fetch_mob_body(), swap_elem_2.fetch_mob_value()
)
anim = CyclicReplace(group_1, group_2, remover=True)
Expand Down Expand Up @@ -1725,7 +1725,7 @@ def update_references():


@utils.exclude_from_deepcopy("_MArrayPointer__scene", "_MArrayPointer__arr")
class MArrayPointer(VGroup):
class MArrayPointer(VMobject):
"""A class that represents a pointer.

Parameters
Expand Down Expand Up @@ -2190,7 +2190,7 @@ def attach_to_elem(self, index: int) -> None:


@utils.exclude_from_deepcopy("_MArraySlidingWindow__scene", "_MArraySlidingWindow__arr")
class MArraySlidingWindow(VGroup):
class MArraySlidingWindow(VMobject):
"""A class that represents a sliding window

Parameters
Expand Down