A newer version of the Gradio SDK is available: 6.20.0
debug
Debugging utilities.
Functions
index_labels(mobject, label_height=0.15, background_stroke_width=5, background_stroke_color=ManimColor('#000000'), **kwargs)
Returns a VGroup of Integer mobjects
that shows the index of each submobject.
Useful for working with parts of complicated mobjects.
- Parameters:
- mobject (Mobject) β The mobject that will have its submobjects labelled.
- label_height (float) β The height of the labels, by default 0.15.
- background_stroke_width (float) β The stroke width of the outline of the labels, by default 5.
- background_stroke_color (ManimColor) β The stroke color of the outline of labels.
- kwargs (Any) β Additional parameters to be passed into the :class`~.Integer` mobjects used to construct the labels.
- Return type: VGroup
Examples
print_family(mobject, n_tabs=0)
For debugging purposes
- Parameters:
- mobject (Mobject)
- n_tabs (int)
- Return type: None