UnitInterval¶
Qualified name: manim.mobject.graphing.number\_line.UnitInterval
- class UnitInterval(unit_size=10, numbers_with_elongated_ticks=None, decimal_number_config=None, **kwargs)[source]¶
Bases:
NumberLineMethods
Attributes
alwaysCall a method on a mobject every frame.
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
- Parameters:
unit_size (float)
numbers_with_elongated_ticks (list[float] | None)
decimal_number_config (dict[str, Any] | None)
kwargs (Any)
- _original__init__(unit_size=10, numbers_with_elongated_ticks=None, decimal_number_config=None, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
unit_size (float)
numbers_with_elongated_ticks (list[float] | None)
decimal_number_config (dict[str, Any] | None)
kwargs (Any)