mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
Shorten name to index_labels
This commit is contained in:
@ -12,7 +12,7 @@ def print_family(mobject, n_tabs=0):
|
|||||||
print_family(submob, n_tabs + 1)
|
print_family(submob, n_tabs + 1)
|
||||||
|
|
||||||
|
|
||||||
def get_submobject_index_labels(mobject, label_height=0.15):
|
def index_labels(mobject, label_height=0.15):
|
||||||
labels = VGroup()
|
labels = VGroup()
|
||||||
for n, submob in enumerate(mobject):
|
for n, submob in enumerate(mobject):
|
||||||
label = Integer(n)
|
label = Integer(n)
|
||||||
|
Reference in New Issue
Block a user