Skip to content

Commit a880293

Browse files
committed
refactor: fixed something
1 parent aa8b943 commit a880293

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/manim_data_structures/array.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def fetch_mob_square(self) -> Square:
144144

145145
return self.__mob_square
146146

147-
def fetch_mob_text(self) -> Text:
147+
def fetch_mob_value(self) -> Text:
148148
"""Fetches the :class:`manim.Text` that represents the element value.
149149
150150
Returns
@@ -217,7 +217,7 @@ def animate_mob_square(self) -> Square.animate:
217217

218218
return self.__mob_square.animate
219219

220-
def animate_mob_text(self) -> Text.animate:
220+
def animate_mob_value(self) -> Text.animate:
221221
"""Invokes the :meth:`manim.Text.animate` property of :class:`manim.Text` for the element value.
222222
223223
Returns
@@ -455,7 +455,7 @@ def animate_elem_value(self, index: int) -> Text.animate:
455455
if index < 0 or index > len(self.__mob_arr):
456456
raise Exception("Index out of bounds!")
457457

458-
return self.__mob_arr[index].animate_mob_text()
458+
return self.__mob_arr[index].animate_mob_value()
459459

460460
def animate_elem_index(self, index: int) -> Text.animate:
461461
"""Invokes the :meth:`manim.Text.animate` property of :class:`manim.Text` on specified index of :attr:`__mob_arr`.

0 commit comments

Comments
 (0)